IE8 getPrototypeOf method

后端 未结 3 771
-上瘾入骨i
-上瘾入骨i 2020-12-16 05:04

Pretty simple:

I have code using Object.getPrototypeOf(...) to get the inherited classes of a Dojo Widget (just a JS object). Object.getPrototypeO

3条回答
  •  春和景丽
    2020-12-16 05:11

    Use https://github.com/kriskowal/es5-shim. Among other things, it supports Object.getPrototypeOf.

    Source: ECMAScript 5 polyfills from Modernizr project

提交回复
热议问题