Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript Reverse

const friends = ["Abir", "Ashik", "Alif", "Alfi", "Shafi", "Kafi"];
const friendsReverse = friends.reverse();
console.log(friendsReverse);
//Output:[ 'Kafi', 'Shafi', 'Alfi', 'Alif', 'Ashik', 'Abir' ]
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #Javascript #Reverse
ADD COMMENT
Topic
Name
4+3 =