UNPKG

iterizerjs

Version:

Expressive & concise code using ES6 iterables

9 lines (6 loc) 188 B
var should = require('chai').should(); describe('product()', function() { it('can return the product of a number of items', function() { range(4).product().should.equal(24); }); });