UNPKG

@nknahom/lotide

Version:

Lotide is mini clone of the Lodash (https://lodash.com) library for learning JavaScript. What is Lodash? Lodash is a library that makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.

12 lines (10 loc) 302 B
const assert = require("chai").assert; const tail = require("../tail"); describe("#tail", () => { it("should return ['Hello', 'Lighthouse', 'Labs'] for ['Lighthouse', 'Labs']", () => { assert.deepEqual(tail(["Hello", "Lighthouse", "Labs"]), [ "Lighthouse", "Labs", ]); }); });