Not Everything Is An Object

Опубликовано: 22 Февраль 2026
на канале: Source Decoded
5,530
96

You may have heard from some people (including us), that in Javascript, everything is an object. Turns out this isn't quite true. Javascript uses a process, sometimes called "boxing" to wrap primitive values when they are accessed. This process has some side effects that you should know about.

The specification document we talk about can be found here: http://www.ecma-international.org/ecm...