3 ms·
> Pretty much everything in (...) JS is an object Except primitives that are not objects but (some) can be autoboxed to behave like objects. A riddle: var
by Shoothe 9y ago
> Pretty much everything in (...) JS is an object
Except primitives that are not objects but (some) can be autoboxed to behave like objects.
A riddle:
var a = 2;
a.b = 3;
console.log(a.b);