var nm=2; nm.toString(2); //10 nm.toString(); //2 nm.toString(10); //2 nm.toString(8); //2
var nm = 24; nm.toString(2); //11000 nm.toString(); //24 nm.toString(10); //24 nm.toString(8); //30 nm.toString(16); //18
var arr = ["be", 32, "color", 9, "u", 2, 3.2, "i","we"]; var ret = arr.toString(); alert(ret); //be,32,color,9,u,2,3.2,i,we