UNPKG

exempt

Version:

A better way to use Array.prototype.splice method.

8 lines (4 loc) 200 B
const assert = require( "assert" ); const calcify = require( "./calcify.js" ); assert.equal( typeof calcify( { "hello": "world" } ), "string", "should be equal to 'string'" ); console.log( "ok" );