标签:argument nts nihao lse class ons div function span
function fun(a,b){
console.log(arguments instanceof Array); //false
console.log(Array.isArray(arguments)); //false
console.log(arguments[1]); //nihao
console.log(arguments.length); //2
console.log(arguments.callee == fun); true
}
fun("hello","nihao");
标签:argument nts nihao lse class ons div function span
原文地址:https://www.cnblogs.com/lyt0207/p/12028486.html