🐕

JavaScript (for文の書き方)

に公開

## 基本構文

for (変数定義;条件式;変数の更新){
    処理
}

例

for (var i =1; i<100; i+=1){
    console.log(i);
}

Discussion