命令 Instruction Type
var 変数名 Var form variable name
Commentary
変数を宣言します。 Declare the variables. 関数内で宣言された場合にはローカル変数になります。 If the function is declared in a local variable. 宣言と同時にを代入することもできます。 You can also declare and assign a value. var a = b = c = 9;とすると変数a,b,cに9が代入されます。 var a = b = c = 9; variables and a, b, c will be assigned to 9.
サンプルコード Sample code
var a = 12; var a = 12;
outputs[0] = a; outputs [0] = a;