Browse Source

Homework.3

Marko 1 year ago
parent
commit
a2264ee9da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      file.js

+ 2 - 2
file.js

@@ -157,7 +157,7 @@ console.log(strn)
 // cubes;
 
 for(i = 0,arr = [];i <= 100; i++){
-    arr.push((i*i*i));
+    arr.push((i**3));
     console.log(arr[i])}
 
 // multiply table
@@ -172,7 +172,7 @@ for (let f = 1;f < 10; f++){
 }
 console.log(result)
 
-// matrix to html table(????????)
+// matrix to html table(???)