Up to 3 characters:
const fn_not = b => ~~b; const fn_inc = b => b++; const fn_nry = b => +b; // might fall under `toNumber` implementation
Cool stuff, keep it up!
Another solution with same length would be
Spoiler fn=b=>b/1 Enter fullscreen mode Exit fullscreen mode I counted the function too, which I came up to 9 characters
fn=b=>b/1
I counted the function too, which I came up to 9 characters
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Up to 3 characters:
Cool stuff, keep it up!
Another solution with same length would be
Spoiler
I counted the function too, which I came up to 9 characters