MENU
About
Mac
Windows
WordPress
Security
ガジェットとかプログラミングとか株式投資とか、いろいろ
taccuma note
About
Mac
Windows
WordPress
Security
taccuma note
About
Mac
Windows
WordPress
Security
ホーム
index
index
– tag –
Programming
【JavaScript】文字列も配列の添字を使ったアクセス方法と同じ方法で各文字にアクセス可能!
[js highlight="1"] var colors = ["red", "blue", "green"]; console.log(colors[0]); //redが表示される console.log(colors[1]); //blueが表示される console.log(colors[2]); //greenが表示される [/js] 例えば1行目...
2013年7月2日
1
閉じる