Loading video...

Video Failed to Load

Go Home

Can you predict what this JavaScript code will log? The answer reveals why floating point calculations in code require special attention.

25,208 views • 1 year ago •via X (Twitter)

3 Comments

Google for Developers's profile picture
Google for Developers1 year ago

Here's a hint:

antony's profile picture
antony1 year ago

webdev discovering floats

Shangeeth Sivan's profile picture
Shangeeth Sivan1 year ago

@grok answer this

Related Videos