chrome browser mai 2018

> 0.1+0.2===0.3 
false
> 0.1+0.2
0.30000000000000004
> typeof []
"object"
> Object.prototype.toString.call([])
"[object Array]"
> parseInt(Infinity)
NaN
> typeof NaN
"number"
> [] == []
false
> [] == ![]
true
> 2 == [2] 
true
> typeof null
"object"
> 1+null
1
>0O015
13
>"hello "+undefined
"hello undefined"
>"hello "+null
"hello null"
>"hello "+[null]
"hello "
>"hello "+[undefined]
"hello "
>JSON.stringify([null])
"[null]"
>JSON.stringify([undefined])
"[null]"
>typeof aaa; var aaa
"undefined"
>typeof bbb; let bbb
Uncaught ReferenceError: bbb is not defined

Sources: