define an unsigned long int js

JavaScript
var unsigned = someVar >>>0
Source

Also in JavaScript: