1const array1 = ['a', 'b', 'c'];
2const array2 = ['d', 'e', 'f'];
3const array3 = array1.concat(array2);
1var array = [];
2var element = "anything you want in the array";
3array.push(element); // array = [ "anything you want in the array" ]
1const langages = ['Javascript', 'Ruby', 'Python'];
2langages.push('Go'); // => ['Javascript', 'Ruby', 'Python', 'Go']
3
4const dart = 'Dart';
5langages = [...langages, dart]; // => ['Javascript', 'Ruby', 'Python', 'Go', 'Dart']