JSFiddle - React, Tailwind, and code Playground

by Sourav Chatterjee

JavaScript

var array = ["Sourav" , "Sachin" , "Matt" , "Corn"];
var result = array.reverse();

alert(result);