JavaScript’s built-in objects include
1 | Object |
,
1 | JSON |
,
1 | console |
,
1 | String |
,
1 | Math |
,
1 | Date |
, and the
1 | window |
and
1 | 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
1 | Object |
is the root object of all prototypes in JavaScript. Aside from providing the foundation for the JavaScript object model,
1 | Object |
imparts important methods such as
1 | toString() |
and
1 | assign() |
. Every object in JavaScript has these methods thanks to
1 | Object |
.
0 Comments