JavaScript's built-in objects include Object
, JSON
, console
, String
, Math
, Date
, and the window
and global
objects. These are some of the most important and useful parts of the JavaScript language. Together, they are essential elements of the programming environment in both the browser and server-side platforms like Node.
The Object in JavaScript
Object
is the root object of all prototypes in JavaScript. Aside from providing the foundation for the JavaScript object model, Object
imparts important methods such as toString()
and assign()
. Every object in JavaScript has these methods thanks to Object
.
To read this article in full, please click here