<form>
<input type="button" value="OK1" onClick="alert('ありがとね')" >
<input type="button" value="OK2" onClick='alert("ありがとね")' >
<input type="button" value="OK3" onClick="alert("ありがとね")" >
</form>
abstract、boolean、break、byte、case、catch、char、class、const、
continue、default、do、double、else、extends、false、final、
finally、float、for、function、goto、if、implements、import、in、
instanceof、int、interface、long、native、new、null、package、
private、protected、public、return、short、static、super、switch、
synchronized、this、throw、throws、transient、true、try、var、void、
while、with、
●関数の宣言を行った場合
・宣言場所が関数内ならば、ローカル変数
・宣言場所が関数外ならば、グローバル変数
●関数の宣言を行わない
・すべてグローバル変数
//だぶるすらっしゅ
/* ←これで囲んだとこ→ */
return
true;
return;
true;