I'm trying to get a deeper understanding of JavaScript and the way it handles object and i came across a couple of strange cases that i'm not sure why i'm getting such result.
i am using the console to adding and concatenating objects together(using chrome console):
>[]+[]
""
>{}+{}
NaN
>{}+[]
0
>[]+{}
"[object Object]"
i would appreciate if somebody have a good explanation for this and/or can recommend farther reading to help me understand reason for this behavior