Double the Beyoncé: Navigating Numbers in JavaScript

A presentation at JSConf.Asia 2019 in in Singapore by Meggan Turner

Do you lie awake at night wondering why you can’t count up past 9 quadrillion in JavaScript? Have you ever been troubled by numbers that don’t add up correctly or do what you expect (looking at you, 0.1 + 0.2)?

JavaScript’s numbers can behave a little… unexpectedly at times, and cause bugs that can have you scratching your head for hours on end. From incorrect arithmetic to Beyoncé showing up on your page twice as often as you expect, in this talk we’ll take a look at the quirks that come from numbers in JavaScript & the strange issues they can cause.

Video

Buzz and feedback

Here’s what was said about this presentation on social media.