Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Groovy
def x = items.last()

throws NoSuchElementException if items is empty array or collection
X := Items'Last

X must be declared earlier.

New implementation...