To get the first two characters of a string in JavaScript, call the slice() method on the string, passing 0 and 2 as the first and second arguments ...
確定! 回上一頁