Hello;
I saw in BGA doc, the javascript trick 'toint(i) to avoid against 'string' compiler undrestanding...
I would like to add this trick (i think it's less complicate)
no need to use toint()?
I saw in BGA doc, the javascript trick 'toint(i) to avoid against 'string' compiler undrestanding...
I would like to add this trick (i think it's less complicate)
Code: Select all
var i=1, j=1;
alert ("1+1="+i+j); /* displays 11 */
alert ("1+1="+(i+j)); /* displays 2 */