trimLeft () and .trimRight(); 15.3. ... JavaScript already supports removing all whitespace from both ends of a string: > ' abc '.trim() 'abc'.
確定! 回上一頁