0.0.3 • Published 4 years ago
nightscript v0.0.3
##Nightscript
require("nightscript").compile("index.ns")
arrow(1, n => console.log(n)) //1
arrow(console, ({ log }) => console.log(log)) //[Function: log]
arrow("!ping", str => {
when(str === "!ping", () => console.log("pong!")) //if === when | when(cond, true -> func, false -> func)
})
#Good programming time