JSFiddle - React, Tailwind, and code Playground JavaScript var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.reverse(); alert(fruits);