id: throw-new-error
valid:
  - 'throw new Error("x")'
  - 'throw new TypeError("x")'
  - 'throw err'
invalid:
  - 'throw Error("x")'
  - 'throw TypeError("x")'
  - 'throw RangeError("x")'
  - 'throw SyntaxError("x")'
