Logo

Programming-Idioms

History of Idiom 165 > diff from v19 to v20

Edit summary for version 20 by Edward E.:
New Dart implementation by user [Edward E.]

Version 19

2018-02-09, 00:24:00

Version 20

2018-02-13, 17:51:23

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Code
x = items.last;