Skip to content
Subhajit Sahu edited this page Jun 11, 2020 · 12 revisions

Gets object without the first entry. 🏃 📼 📦 🌔 📒

Similar: head, tail.

object.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

Clone this wiki locally