For some reason at least in the browsers console this is a valid expression which evaluates to x being equal to 1
{x} = {x:1}
However the same thing with a semicolon at the end throws the following error:
SyntaxError: Unexpected token =
Can anyone explain why?