Not correct values

You need to use i as an index or just printout the correct values of i*i  = [0, 1, 4, 9, 16]
pull/181/head
AmrGablla 4 years ago committed by GitHub
parent 07143be3b7
commit 52a4fcb1da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -112,7 +112,7 @@ for(let i = 0; i < numbers.length; i++){
}
console.log(newArr) // [1, 4, 9, 16, 25]
console.log(newArr) // [0, 1, 4, 9, 16]
```
```js

Loading…
Cancel
Save