g.js — graphical objects for JavaScript

reversereverse

Reverse the items in the list. The first item becomes the last and vice versa.

g.reverse([1, 2, 3])

Parameters

  • l: The list of items.