You can use the JavaScript split() method to split a string using a specific ... Outputs: John alert(nameArr[nameArr.length - 1]); // Outputs: Alice var str ...
確定! 回上一頁