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 :)
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!