nisp demo

node v6.17.0
version: 1.0.2
endpointsharetweet
var nisp = require("nisp").default; var sandbox = { "+": (...args) => args.reduce((a, b) => a + b) }; var exp = ["+", 1, 2, ["+", 1, 2]]; nisp(exp, sandbox); // => 6
Loading…

no comments

    sign in to comment