180it.com 学无止境 - 原生JS正则去除所有空格 的评论
type: channel
link: http://www.180it.com/archives/480/
description: function removeAllSpace(str) {return str.replace(/\s+/g, "");}