UNPKG

extendscript-es5-shim

Version:
13 lines 359 B
/* https://github.com/es-shims/es5-shim/blob/master/es5-sham.js */ // ES5 15.2.3.12 // http://es5.github.com/#x15.2.3.12 if (!Object.isFrozen) { Object.isFrozen = function isFrozen(object) { if (Object(object) !== object) { throw new TypeError('Object.isFrozen can only be called on Objects.'); } return false; }; }