g.js — graphical objects for JavaScript

secondsecond

Take the second item in the list.

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

Parameters

  • l: The list of items.

See Also

  • get: Take an item in the list.
  • first: Take the first item in the list.
  • last: Take the last item in the list.
  • rest: Take all but the first item in the list.