title: you might need to wrap the the whole assignment in parentheses
body: <p>when run in console:</p>
  <p>let b;
  {b} = {b:1} // run without error</p>
  <p>{b} = {b:1} // empty line before this code, and run with error VM243:2 Uncaught SyntaxError: Unexpected token '='
  ({b} = {b:1}) // run without error</p>
  <p>when run in <a href="https://www.typescriptlang.org/play" rel="nofollow noreferrer">https://www.typescriptlang.org/play</a>, error message like below:</p>
  <p>Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses.</p>