Table.prototype.slice

Returns a new table with the range of rows copied from the original table.

Syntax

sliced(start, end?)

Parameters

Example

new Table(["Item", "Count"], [
  ["Bicycle", 5],
  ["Scooter", 2]
]).slice(1)
ItemCount
Scooter2