JavaScript字符串翻转方法汇总方法一: /*** @param str 传入字符串* @param type 截取符号*/function reve
JavaScript字符串翻转方法汇总
方法一:
/*** @param str 传入字符串* @param type 截取符号*/function reverse(str,type){var news = str.split(type).reverse()return news}暂时就发现这些
看官有新方法 欢迎回帖
JavaScript字符串翻转方法汇总
方法一:
/*** @param str 传入字符串* @param type 截取符号*/function reverse(str,type){var news = str.split(type).reverse()return news}