@extra-entries/shift.min
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.18 • Public • Published

    Removes first entry. 📦 😺 🏃 📼 🌔 📜 📰 📘

    This is part of package extra-entries.

    This is browserified, minified version of @extra-entries/shift.
    It is exported as global variable entries_shift.
    CDN: unpkg, jsDelivr.


    entries.shift(x);
    // x: entries
    const entries = require("extra-entries");
    
    var x = [["a", 1], ["b", 2], ["c", 3]];
    [...entries.shift(x)];
    // [ [ "b", 2 ], [ "c", 3 ] ]
    
    var x = [["a", 1], ["b", 2], ["c", 3], ["d", 4]];
    [...entries.shift(x)];
    // [ [ "b", 2 ], [ "c", 3 ], [ "d", 4 ] ]


    References

    Install

    npm i @extra-entries/shift.min

    DownloadsWeekly Downloads

    1

    Version

    2.2.18

    License

    MIT

    Unpacked Size

    6.31 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77