菜鳥編碼器在這裏!語法錯誤:意外令牌
我正在學習codeacademy.org並不斷得到這個錯誤,即使我很確定它已被正確寫入。幫幫我?
// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry = "Panama";
// Use console.log to print out the length of the variable myCountry.
console.log(.length myCountry);
// Use console.log to print out the first three letters of myCountry.
console.log(myCountry .subscript(0,3));
這是什麼語言? – 2015-03-31 16:49:34