When I state that "everything is an object", that is an oversimplification. A more apt description would be:
Everything can become an object.
There are primitives (strings, numbers, and booleans) and objects (String, Number, and Boolean). For instance:
// primitives const primitiveString = 'my string'; const primitiveNum = 47; // objects const myObjString = String('my string'); const myObjNum = Number(47);