理解JavaScript变量和类型

var str = 'abc';str.slice(1);str.substr(1);str.trim(1);str.toLowerCase(1);str[0] = 1;console.log(str); //abc