[rosedu-general] Veriga lipsa intre consola, Batman si JavaScript

Valentin Gosu valentin.gosu at gmail.com
Thu Oct 11 22:15:42 EEST 2012


On 10/11/12 12:13 PM, Mihai Bivol wrote:
> [] + {} == {} + []
> true
> a = {} + []
> "[object Object]"
> b = [] + {}
> "[object Object]"
> [] + {} + 3 + "ana"
> "[object Object]3ana"
> {} + [] + 3 + "ana"
> "3ana"
>
> dafuq?
>
NaNNaNaaaaaaaaaa...


More information about the rosedu-general mailing list