Get In List Block

In List Block

These all apply to the get and remove and remove options aswell.

Get In List Block

The get in list block returns the item in the list with the specified index.

Generated Code

var list;

list[index];

Get In List From End Block

The get in list from end block returns the item in the list with the specified index from the end.

Generated Code

var list;

list.slice(-1)[index];

Get First In List Block

The get first in list block returns the first item in the list.

Generated Code

var list;

list[0];

Get Last In List Block

The get last in list block returns the last item in the list.

Generated Code

var list;

list.slice(-1)[0];

Last updated