求一段简单的JAVASCRIPT代码现在有个字符串 abcdf lkwerer 我要把这个空格去掉,得到abcdflkwerer JS代码改怎么写? 谢谢[解决办法]str.replace( /^\s*/, " ");