TimChen44 opened this issue 9 years ago · 2 comments
let cubed = 2 ** 3; // same as: 2 * 2 * 2
Why not use: let cubed = 2 ^ 3; This is more in line with mathematical formulas.
xor, 2 ^ 3 === 1.
2 ^ 3 === 1
python,perl,ruby...etc is used **