
<script>var arr = [1,2,3];var res = arr.toString();console.log(typeof res);console.log(arr);//在js中每一个对象都拥有一个__proto__指向原型对象console.log(arr.__proto__);console.log(arr.__proto__==Array.prototype);//trueconsole.log(arr.__proto__.__proto__==Object.prototype);//trueconsole.log(arr.__proto__.__proto__.__proto__);//null</script>
