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
Post a Comment