js去掉字符串得第一个字符 、去掉字符串的最后一个字符

a1 = aa[0].slice(1);  //去掉第一个字符串

a2 = a2.substr(0, a2.length - 1); 

原文地址:https://www.cnblogs.com/xdcr/p/8805300.html