Skip to content

Reverse

Reverse[list] evaluates to a reversed copy of list.

Attributes[Reverse] := {Protected}

Simple examples

In[1]:= Reverse[Range[5]]
Out[1]= {5, 4, 3, 2, 1}