We're a place where coders share, stay up-to-date and grow their careers.
Hacking my way through this mess...
Work
Web Engineer at Spotify
All private interactions must abide by the code of conduct.
Maybe like this: function sumMul(n, m) { if (m <= n) ...
Feb 19
Up to 3 characters: const fn_not = b => ~~b; const fn_i...
you're passing a function to a ReactNode, which can be a fun...
What about this place ;) <div>{numberToString(42)}&l...
You don't need to go into an advanced discussion to see why r...
@lukeshiru your point about copyToClipboard is 100% legit, bu...
Feb 13
Why not just padStart?
...though I guess in this will still work based on the fact t...
Jan 13
Recent comments
#36 - Sum of Multiples CodeWars Kata (8 kyu)
Maybe like this: function sumMul(n, m) { if (m <= n) ...
JavaScript code puzzle: convert a Boolean to Number
Up to 3 characters: const fn_not = b => ~~b; const fn_i...
The types in TypeScript
you're passing a function to a ReactNode, which can be a fun...
The types in TypeScript
What about this place ;) <div>{numberToString(42)}&l...
The types in TypeScript
You don't need to go into an advanced discussion to see why r...
7 Killer One-Liners in JavaScript
@lukeshiru your point about copyToClipboard is 100% legit, bu...
7 Killer One-Liners in JavaScript
Why not just padStart?
Use previous value through a React hook
...though I guess in this will still work based on the fact t...