JSFiddle - React, Tailwind, and code Playground
by watsuyo_2
HTML
<script src="https://rawgit.com/tweeeety/logFiddle/master/execLogFiddle.js"></script>
JavaScript
const length = 10;
const array = new Array(length); // 長さ10の配列
for(let i = 0; i <= length; i++) { // iに10回足す1をする
array[i] = i; //iをるーp
}
console.log(array);