Javascript mystery command -
i new javascript , have work out program does. in 2 integers compared inequality: <<= don't know , can't find online tutorials tell me. finlay perry
it updates lvalue left-shifting value on right.
var = 1; <<= 2; // leftshift 2 bits, // in effect multiplying 4, making 4 += 1; // more common (familiar?) example of kind of operator // add 1, making 5
Comments
Post a Comment