quote:
Originally posted by SpunkyLoveMuff
Thanks. Had to use *-1 though because it's a negative value in the registry
EDIT: But still, why was I getting an object?
because its a wrapper class for a primitive type to get the primitive type use the valueOf method
code:
var x = new Boolean(1);
var bool = x.valueOf();