tail - nodef/extra-object GitHub Wiki

Get object without its first entry (default order).

Similar: head, tail.

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});
// → {}

References