-
Notifications
You must be signed in to change notification settings - Fork 0
tail
Subhajit Sahu edited this page Dec 22, 2022
·
14 revisions
Get values except first.
function tail(x)
// x: an iterable
const ientries = require('extra-ientries');
var x = [["a", 1], ["b", 2], ["c", 3]];
[...ientries.tail(x)];
// → [ [ "b", 2 ], [ "c", 3 ] ]
var x = [["a", 1]];
[...ientries.tail(x)];
// → []