This website works better with JavaScript
Home
Explore
Help
Sign In
eugeniy.ho
/
javascript_practice
Watch
1
Star
0
Fork
0
Files
Issues
12
Pull Requests
0
Wiki
Tree:
68b55d9e4a
Branches
Tags
master
javascript_p...
/
hw03_part1
/
15_array_plus.js
15_array_plus.js
80 B
History
Raw
1
2
3
let arr = [5, 6];
arr[2] = arr[0] + arr[1];
console.log(arr); // -> [5, 6, 11]