Is global objects (e.g. Array) are part of Javascript programming Language?

38 Views Asked by At

I read the ECMAScript Doc and MDN Documents

In browser or node environment, Javascript provides some global objects like Array and they have functions like filter and map.

The question is: are these objects/functions part of the "Javascript Language" or are there just provided by the "environment"?

1

There are 1 best solutions below

1
Jordumus On

Functions like filter and map are described in standards. This means that all browsers that follow those standards should implement them in the same way, making them act the same way, without exception.

For example, for filter, there is this page: here which explains the function, and at the bottom you can see links to the document which explains exactly how the function should behave, what parameters it should have, what it should return, etc.