Software Engineer ,Tech Enthusiast, Violinist
I am a full stack developer from Mysore India. I am here to share as much information I know with the world in the most articulate way.
Markdown supported · ⌘↵ to post
I'm new to js not familiar with most of these, but this is really really helpful to refer when needed. Thanks for sharing 👍
Darlan Tódero ten Caten
Caleb
Nice article! 👏
Btw just adding to the
~~xtip, bitwise operators only work with 32-bit numbers, so if you have a number that could be greater than 2147483647, you'll likely get inaccurate results, and should use Math.floor.Also an alternative to
~~xis alsox | 0(or0 | x,x << 0, etc.)