-
Notifications
You must be signed in to change notification settings - Fork 3
tail
Subhajit Sahu edited this page Dec 8, 2022
·
12 revisions
Get object without its first entry (default order).
function tail(x)
// x: an object
const object = require('extra-object');
object.tail({a: 1, b: 2, c: 3});
// → { b: 2, c: 3 }
object.tail({a: 1});
// → {}