Hi,
Following code results in parse error;
let a = 5; // 00000000000000000000000000000101
a >>>= 2; // 00000000000000000000000000000001
console.log(a);
// expected output: 1
let b = -5; // -00000000000000000000000000000101
b >>>= 2; // 00111111111111111111111111111110
console.log(b);
// expected output: 1073741822
thanks
This is Fixed on master branch
Actually, the >>>= and >>> operators are not yet implemented. I'm re-opening this.
Actually, the
>>>=and>>>operators are not yet implemented. I'm re-opening this.
I must have only checked for >>> :sweat_smile: .
The >>>= is not implemented but >>> is (in #520). >>>= should be easy to implement.
I would like to work on this.