You don't know #JS
This code produces "true":
((2147483647 + (1024 * 1024 * 1024 * 8)) | 0) == 2147483647
hm, that's 31.. so the 32th bit is a type bit? It says whether this is an int or an object pointer?
@Wolf480pl it may be 🤔I didn't think deep to understand, why 31 and not 32, I am trying to find the source of collision I've been experiencing at work :)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!