I have this code example:
var a = 10;
({a}) = 0;
In Google Chrome, it shows an error: SyntaxError: Invalid destructuring assignment target
In Firefox, it shows an error: ReferenceError: invalid assignment left-hand side
Actually, I would like to understand what kind of error it is?