4 ms·
Yet in node REPL: > {}+[] '[object Object]' > []+{} '[object Object]' ... because Node's REPL and some consoles pre-wrap input that looks obje
by patates 4mo ago
Yet in node REPL:
> {}+[]
'[object Object]'
> []+{}
'[object Object]'
... because Node's REPL and some consoles pre-wrap input that looks object-ish :)