javascript - Relation between Ecmascript and the window object -


i know window object current browser has offer far functionality concerned.

but how ecmascript related this? how included in browser, , how know browser loads version of ecmascript?

for example, here ecmascript 5 object properties. how supposed know if it's supported in current browser instance?

you can resort feature testing e.g.

var preventextensionsupport = !!object.preventextensions; var ownpropertydescriptorsupport = !!object.getownpropertydescriptor 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -