Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mappum
· 1y ago · 0 comments
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.
Comments
[–]
middayc
1y ago
interesting. Give us an example of it's usage ... or how you implemented it?
[–]
morcus
1y ago
I looked at the code - it uses ternary expressions.