作者chevalierxd (獨孤求噓-風青羊)
看板Ajax
標題[問題] comment是甚麼?
時間Thu May 16 18:28:06 2013
最近開始自學 這是網站上的教學之一 但是沒解答 卡住了 請大家幫忙!
// On line 2, write your first comment! It can be anything!
var myJob = "none"
console.log("myJob".length)
這是提示 但是我照著作了 第二行我試了很多都不對
想問一下是哪裡出問題了?
感謝回答~
INSTRUCTIONS
Read the comment on line 1.
On line 3, create a variable myJob and give it a string value.
On line 4, log the length of myJob to the console.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.213.89.161
1F:→ CaptainH:註解 05/16 18:37
2F:→ TonyQ:你在 console.log("myJob".length) 後寫上兩個斜線 "//" 05/16 19:03
3F:→ TonyQ:接著一些你自己的話 像是 //這是註解 05/16 19:03
4F:→ TonyQ:我猜大概就會過了 05/16 19:03
5F:→ lyforever:instructions的答案是console.log(myJob.length) 05/17 12:06
6F:→ lyforever:我不知道....comment跟要你log the lenght...有啥關係 05/17 12:07
7F:推 JavaScript:consloe.log(myJob.length) 這就是你要的 你多了"" 05/17 12:12
8F:推 JavaScript:console 細看一下才發現有人回文了@@||| 05/17 12:49
9F:推 KC73:javascript 親自來解答,真感人~ 05/18 05:50
10F:推 alpe:哇~~~ JavaScript 親自上陣 05/18 23:20