javascript如何去除tabvar testStr="sssssvvvvv"var resultStr=testStr.replace( +g,"")去掉空格resultStr=testStr.replace([ ]2023-03-13JavaScript240