nil? is broken on javascript
ylixir opened this issue ยท 1 comments
nil? compiles to a function, so if you try to pass an undefined variable to it, then it will explode
you can safely test if a variable is undefined with the typeof operator, but i can't think of a way to make this a function instead of a macro
- red: reproduce with a failing test
- green: fix the bug (macro?)