14_cubes.js 100 B

1234567
  1. let arr = [];
  2. for (let i = 0; i <= 10; i++) {
  3. arr.push(Math.pow(i, 3));
  4. }
  5. console.log(arr);