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"?
Functions like
filterandmapare 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.