# Tenko parser autogenerated test case

- From: tests/testcases/assigns/keyword_with_escapes_check/autogen.md
- Path: tests/testcases/assigns/keyword_with_escapes_check/gen/inside_a_generator_func/inst5cu0061nceof.md

> :: assigns : keyword with escapes check : gen : inside a generator func
>
> ::> inst5cu0061nceof

## Input


`````js
function *f(){
  inst\u0061nceof = x
}
`````

## Output

_Note: the whole output block is auto-generated. Manual changes will be overwritten!_

Below follow outputs in five parsing modes: sloppy, sloppy+annexb, strict script, module, module+annexb.

Note that the output parts are auto-generated by the test runner to reflect actual result.

### Sloppy mode

Parsed with script goal and as if the code did not start with strict mode header.

`````
throws: Parser error!
  Cannot use this name (`inst\u0061nceof`) as a variable name because: Keywords may not have escapes in their name and this resolves to `instanceof`

start@1:0, error@2:2
╔══╦════════════════
 1 ║ function *f(){
 2 ║   inst\u0061nceof = x
   ║   ^^^^^^^^^^^^^^^------- error
 3 ║ }
╚══╩════════════════

`````

### Strict mode

Parsed with script goal but as if it was starting with `"use strict"` at the top.

_Output same as sloppy mode._

### Module goal

Parsed with the module goal.

_Output same as sloppy mode._

### Sloppy mode with AnnexB

Parsed with script goal with AnnexB rules enabled and as if the code did not start with strict mode header.

_Output same as sloppy mode._

### Module goal with AnnexB

Parsed with the module goal with AnnexB rules enabled.

_Output same as sloppy mode._
