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

    2.2.10 • Public • Published

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

    This is part of package extra-lists.

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


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


    References

    Install

    npm i @extra-lists/shift.min

    DownloadsWeekly Downloads

    21

    Version

    2.2.10

    License

    MIT

    Unpacked Size

    6.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77