Contact: aviboots(AT)netvision.net.il
39,043 questions
50,760 answers
573 users
const array = ['c++', 'nodejs', 'c', 'java']; const mp = array .slice(0) .reverse() .map(element => { return element; }); console.log(mp); /* run: [ 'java', 'c', 'nodejs', 'c++' ] */