This website works better with JavaScript
Página inicial
Explorar
Ajuda
Entrar
eugeniy.ho
/
javascript_practice
Observar
1
Favorito
0
Fork
0
Arquivos
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
Histórico
Raw
1
2
3
let arr = [5, 6];
arr[2] = arr[0] + arr[1];
console.log(arr); // -> [5, 6, 11]