how to display array backwards in javascript code example Example: how to reverse an array in javascript array = [1 2, 3] reversed = array.reverse()