Hello good people I need assessment on Arrays 3 please . Thank you in advance .
This is my code ( instead of using “forEach()” I have put the index number of each element in the parentheses) :
let myArray = [ “Ryu (0)”, “Ken (1)”, “Chun-Li (2)”, “Cammy (3)”, “Guile (4)”, “Sakura (5)”, “Sagat (6)”, “Juri” ];
myArray.pop();
myArray.push(‘Ivaylo (7)’, ‘Jivko (8)’);
let myString = myArray.join(’ - ');