摘要: https://github.com/paulmillr/console-polyfillhttps://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfillshttp://addyosmani.com/blog/writi... 阅读全文
posted @ 2015-04-23 17:03 zyip 阅读(332) 评论(0) 推荐(0)
摘要: ECMAScript 5 compatibility shims for legacy JavaScript engineshttps://github.com/es-shims/es5-shim 阅读全文
posted @ 2015-04-23 16:59 zyip 阅读(156) 评论(0) 推荐(0)
摘要: function foo(){ //var var1=Array.prototype.slice.call(arguments); var var1=[].slice.call(arguments); console.log(var1.length);}foo(0,1,2,3,4,5,6); 阅读全文
posted @ 2015-04-23 16:49 zyip 阅读(341) 评论(0) 推荐(0)
摘要: var bar = { var1:'var1', var2:'var2', fun1:function(){ var arg0=arguments[0]; arg0=arg0 || ""; console.log( arg0 + this.var2); }};bar.fun... 阅读全文
posted @ 2015-04-23 16:39 zyip 阅读(127) 评论(0) 推荐(0)