Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
CS foundations
In JavaScript, which result does `0.1 + 0.2 === 0.3` produce?
from CS foundations
intermediate
1 min
In JavaScript, which result does `0.1 + 0.2 === 0.3` produce?
`false`, because these decimal fractions are rounded to binary floating-point approximations.
`true`, because all literals have one decimal place.
`NaN`, because decimal fractions are unsupported.
Check
Ask AI about this kata
Report an error
previous kata
Name the failure mode in which ambiguous nested repetition makes a backtracking regular-e…
Fill in
next kata
Which validation rule prevents a regular expression from accepting a valid-looking substr…
Quiz
A new version is available
Reload