📌  相关文章
📜  如何在javascript代码示例中获取字符串的第一个字符

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

代码示例6
let sentence = "The big brown fox"
let word = sentence.split(" ")[0]

console.log(word) // The