Besides :
true ? 1 : 0
is there any short trick which can \"translate\" True->1 and False->0 in Javascript ?>
True->1
False->0
...or you can use +true and +false
+true
+false