• Can anyone explain what's going on here?

    scancolor=0

    var temp=255
    =255
    print(temp.toString(16));
    FF
    =undefined
    var temp=255*Math.pow(256,scancolor);
    =255
    print(temp.toString(16));
    255
    =undefined

    Why is the argument to toString() being ignored in the second case?
    Other JS interpreters don't seem to have this behavior.

About

Avatar for DrAzzy @DrAzzy started