SV: [thelist] JS Boolean Object... part 2

Marcus Andersson marcan at
Thu Dec 4 15:37:14 CST 2003

If you do the following:

var b = new Boolean(false);
b.err = "Some error message";
if(b.valueOf()) {
else {

That works but I don't know if that is good enough for you though.


More information about the thelist mailing list