Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to reverse array in javascript

numArr.reverse();
strArr.reverse();

console.log(numArr);
console.log(strArr);
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #reverse #array #javascript
ADD COMMENT
Topic
Name
1+1 =