ste*_*ang 9 javascript ecmascript-5 polyfills
我想用我今天和将来工作的新ECMAScript5功能编写我的JS代码.
并非所有浏览器都支持所有功能(尤其是IE),例如Object.create,Array.isArray或JSON.
Object.create
Array.isArray
JSON
我知道一些解决方法,比如json2.js用来JSON支持.我想了解更多polyfill或其他功能的变通方法.
json2.js
pra*_*eek 9
看看这些:
https://github.com/kriskowal/es5-shim
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills(中间列出的es5垫片)
归档时间:
14 年,2 月 前
查看次数:
2866 次
最近记录:
12 年,1 月 前