–¼‘O | ðŒ” | \•¶ | IE | NN |
---|---|---|---|---|
if | ðŒ‚ª1‚ | if(exp){statements1} | 3 | 2 |
ðŒ‚ª2‚ | if(exp){statements1} else{statements2} | |||
ðŒ‚ª3‚ | if(exp1){statements1} else if(exp2){statements2} else{statements3} | |||
switch | ðŒ‚ª3‚ˆÈã | switch(exp){ case value1:statements1; case value2:statements2; case value3:statements3; case value4:statements4; default:statements5; } |
if‚ÍA’Êí‚Í2•ÅðŒŽ®‚Ì•Ô‚è’l‚Å‚ ‚étrue‚©false‚©‚É‚æ‚èðŒ•ªŠò‚·‚邪A •Ô‚è’l‚ª0‚È‚çfalseA0ˆÈŠO‚È‚çtrue‚Æ‚¢‚¤“ÁŽê‚ÈŽg‚¢•û‚à‚Å‚«‚é‚Ì‚ÅA’P€ðŒŽ®‚àŽg‚¦‚éB
–¼‘O | ˆ— | \•¶ | IE | NN |
---|---|---|---|---|
while | exp‚ªtrue‚È‚çstatements‚ðŒJ‚è•Ô‚·B | while(exp){statements} | 3 | 2 |
do while | while‚ƈႢAʼn‚Ì1‰ñ‚Ístatements‚ðŽÀsB | do{statements}while(exp1) | ||
for | ”CˆÓ‰ñ”‚ÅŒJ‚è•Ô‚·B | for(exp1;exp2;exp3){statements} | ||
”z—ñ‚Ȃǂ̌”•ªAŒJ‚è•Ô‚·B | for(var in array){statements} |
–¼‘O | ˆ— | \•¶ | IE | NN |
---|---|---|---|---|
label | continue,break‚ÌŽQÆæ | label n: | 4 | 4 |
break | ƒ‹[ƒv‚𔲂¯‚éB | break | 3 | 2 |
ƒ‹[ƒv‚𔲂¯‚Älabel‚Ö”ò‚ÔB | break label | 4 | 4 | |
continue | ‚»‚̃‹[ƒv‚𖳎‹‚µAƒ‹[ƒv‚𑱂¯‚éB | continue | 3 | 2 |
‚»‚̃‹[ƒv‚𖳎‹‚µAlabel‚©‚烋[ƒv‚𑱂¯‚éB | continue label | 4 | 4 |
–¼‘O | ˆ— | \•¶ | IE | NN |
---|---|---|---|---|
with | ƒIƒuƒWƒFƒNƒg‚É—lX‚ÈŽw’è‚ð1“x‚És‚È‚¤B | with(obj){ statements1; statements2; } | 3 | 2 |
–¼‘O | ˆ— | \•¶ | IE | NN |
---|---|---|---|---|
throw | —áŠO‚𔶂³‚¹‚éB | throw ”CˆÓ; | ? | ? |
try catch finally | statement1‚ŃGƒ‰[‚ª”¶‚µ‚½ŽžA statement2‚Å—áŠO‚ðˆ—‚µA ‚»‚ÌŒ‹‰Êstatement3‚ð–³ðŒ‚ÉŽÀsB | try{statement1} catch(”CˆÓ){statement2} finally{statement3} | ? | ? |
ƒOƒ‰ƒtƒBƒbƒN‘fÞ |
---|
HTML‚ÆJavaScript‘fÞ |
Ž‘—¿ |
‚¨‚·‚·‚߃‰ƒ“ƒLƒ“ƒO |
HTMLŽ«“T |
JavaScriptŽ«“T |
•Ö—˜î•ñ |
ƒz[ƒ€ƒy[ƒW‰^‰cuÀ |
ƒz[ƒ€ƒy[ƒW—pŒêW |
ƒŠƒ“ƒN |
SEO | [PR] ”š‘¬!–³—¿ƒuƒƒO –³—¿ƒz[ƒ€ƒy[ƒWŠJÝ –³—¿ƒ‰ƒCƒu•ú‘— | ||