2 ms·
You can just document a constraint that these function must use the purely functional subset of JavaScript, which is enough for the sorts of assertions I typica
by fiddlerwoaroof 4y ago
You can just document a constraint that these function must use the purely functional subset of JavaScript, which is enough for the sorts of assertions I typically write. Alternatively, you could constrain it to the subset that has no unbound variables or side effects.