mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-12 19:10:26 +00:00
Merge pull request #162 from Lynextion/patch-1
This commit is contained in:
commit
5722e8ecec
@ -4,6 +4,9 @@
|
||||
// Null is an Object
|
||||
typeof null // => 'object'
|
||||
|
||||
// Weird decimal calculation
|
||||
0.1 + 0.2 // -> 0.30000000000000004
|
||||
|
||||
// Despite this, null is not an instance of an Object
|
||||
null instanceof Object // => false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user