DEV Community

Discussion on: Learn Javascript array methods with the help of emojis

 
sakethkowtha profile image
sakethk

We are sorting the array in ascending order after ascend ascending the array will be like this [0,1,2,3,4,5,6,7,8,9,10]. Later we need to swap first and last element in the array

Thread Thread
 
vetrivel profile image
Vetrivel p

ok, noted thank you so much.