📅  最后修改于: 2022-03-11 15:03:29.193000             🧑  作者: Mango
// It essentially SPLITS the sentence inserted in the required argument
// into an array of words that make up the sentence.
var input = "How are you doing today?";
var result = input.split(" "); // Code piece by ZioTino
// the following code would return as
// string["How", "are", "you", "doing", "todaY"];