标签:
var colors=[‘red‘,‘green‘,‘yellow‘];
console.log(colors)//[‘red‘,‘green‘,‘yellow‘]
console.log(colors.toString());//red,green,yellow
console.log(colors.valueOf());//[‘red‘,‘green‘,‘yellow‘]
console.log(colors.toLocaleString());//red,green,yellow
标签:
原文地址:http://www.cnblogs.com/lwwen/p/5584146.html