var names=["aa","bb","hh"];
var namestr=names.join();
var namestr=names.join();
console.log(namestr);
//后台运行的结果为 aa,bb,hh
namestr=names.toString();
console.log(namestr);
//后台运行的结果为 aa,bb,hh
console.log(names);
//后台运行的结果为 ["aa", "bb", "hh"]