Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
nisp demo
node v6.17.1
version:
1.0.2
endpoint
share
tweet
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