roc/test/snapshots/repl/list_sublist_basic.md

219 B

META

description=List.sublist returns a continuous subsection of the original list
type=repl

SOURCE

» List.sublist([0, 1, 2, 3, 4, 5, 6], {start: 2, len: 3})

OUTPUT

[2, 3, 4]

PROBLEMS

NIL