any particular reason?
The same reason any language has a standard library. It doesn't have many, and the ones it does have are quite useful.
The only object types ECMAScript has are:
- Object
- Function
- Array
- String
- Boolean
- Number
- Date
- RegExp
along with the standard error objects. Omitting even one of the above would significantly decrease the language's ease of use.
Note that the W3C APIs many people conflate JavaScript with are not built-in to the language.
Essentially so that you don't have to write them.
Technically, some of the built in functions wrap functionality that you really couldn't do in JavaScript itself (i.e. build the dom--direct "Browser" interface).
Because it needs to handle the state it is run in. You need "something" to handle DOM, window, forms and so on. It is not true, that is has some "built-in" objects - they are initialized beacause browser must someway have interface to create whole website from input code.