DEV Community

Discussion on: Top 26 JavaScript Interview Questions I Wish I Knew

Collapse
 
dukemai profile image
dukemai

nice, I was surprised most by the question 0.1+0.2===0.3.

Collapse
 
syedmeesamali profile image
syedmeesamali

This is what always haunts me and i'm not sure if that's the case with any other language? I used Python, C, C++ and VBA but such stuff is unseen there.

Collapse
 
hassam7 profile image
Hassam Ali

it's same in Python, C and C++

Thread Thread
 
delavarimohsen profile image
Mohsen

it's same in c# too but in goLang 0.1 + 0.2 == 0.3 is true :)