摘要: 针对JavaScript里的arguments对象有如下问题1.是Array类型的吗?它有哪些属性?// Best practices: it is best not to use argumentsfunction test(){ console.log( arguments instanceof Array);//return false arguments is not a instance of Array console.log([1,2] instanceof Array);// return true console.log( arguments.length); // ok.. 阅读全文
posted @ 2013-01-15 11:06 卜海清 阅读(450) 评论(0) 推荐(0)