1 array = [1, 2, 3] 2 reversed = array[::-1] # [3, 2, 1]

Linkerin


1 "Hello World".split("").reverse().join("") // 'dlroW olleH'

anonymous