var arr = [34, 234, 567, 4]; print(arr); var new_arr = arr.reverse(); print(new_arr); /* Output: 34, 234, 567, 4 4, 567, 234, 34 */