📜  javascript split - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:12.235000             🧑  作者: Mango

代码示例6
const printText = "The quick brown fox jumps";
const printSplit = printText.split(" ")
console.log(printSplit);
//output:[ 'The', 'quick', 'brown', 'fox', 'jumps' ]
console.log(printSplit[4]);
//Output: jumps