Hacker News new | ask | show | jobs
by mappum 246 days ago
I own the 'if' package on npm, which I wrote to be functions that can replace the if keyword, making no use of the if keyword in its definition.
1 comments

interesting. Give us an example of it's usage ... or how you implemented it?
I looked at the code - it uses ternary expressions.