News for hackers. Stuff that matters.
Re:Russhian Roulette: 1/6 chance of posting your SSH private... by wincy on Saturday January 28, 2023 @08:40AM (#34557482)
There are no integers in JavaScript, only double precision floating point numbers.
Re:Russhian Roulette: 1/6 chance of posting your SSH private... by ordu on Saturday January 28, 2023 @10:15AM (#34558191)
So the second scenario is at play. 0 is converted into floating point.