[rosedu-general] Veriga lipsa intre consola, Batman si JavaScript
Alexandru Tudorica
tudalex at gmail.com
Thu Oct 11 22:29:39 EEST 2012
On Thu, Oct 11, 2012 at 10:13 PM, Mihai Bivol <mm.bivol at gmail.com> wrote:
> [] + {} == {} + []
> true
dar:
{} + [] == [] + {}
false
> a = {} + []
> "[object Object]"
> b = [] + {}
> "[object Object]"
> [] + {} + 3 + "ana"
> "[object Object]3ana"
> {} + [] + 3 + "ana"
> "3ana"
>
> dafuq?
>
> Mihai
> _______________________________________________
> http://lists.rosedu.org/listinfo/rosedu-general
> http://lists.rosedu.org/guidelines - Mailing List Guidelines
More information about the rosedu-general
mailing list