Update 06_day_loops.md

pull/431/head
Abdurrahman Ayyıldız 3 years ago committed by GitHub
parent f0f1e662ae
commit f05e4bc37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,7 +106,6 @@ Creating a new array based on the existing array
```js
const numbers = [1, 2, 3, 4, 5]
const newArr = []
let sum = 0
for(let i = 0; i < numbers.length; i++){
newArr.push( numbers[i] ** 2)

Loading…
Cancel
Save