LMAO apparently u can declare an array with a non-integer float length in javascript and it just works

fuckass language
i was memeing about a JS one liner that generates lesbian fluster speech (commas and dots) and i was using Math.floor but then someone i know ran the same thing without Math.floor and it still worked like this:

Array.from({length: 11 - Math.random() * 8}, () => Math.random() < 0.65 ? "," : ".").join("");
@skye does it break the laws of physics and achieve a part of a byte?
@9pfs nope it ends up an integer xd
@skye which direction does it go, though? undefined behavior!
@9pfs i dont remember tbh