The number you have (5799218898) is beyond 32 bits. You didn't mention the JavaScript engine you're testing with, but it's very likely that it is 32-bit.
To test, trim the "5" at the beginning of your number so that you fall inside the 32-bit boundary. Then your shift should work fine.