The solution We can use JavaScript's String.prototype.split() method. ... const words = myString.split(" "); // split on single space ...
確定! 回上一頁