JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsExpressionStatement { expression: JsAssignmentExpression { left: JsBogusAssignment { items: [ JS_REGEX_LITERAL@0..8 "/=0*_:m/" [] [], ], }, operator_token: EQ@8..15 "=" [] [Comments("/*_:|\n")], right: missing (required), }, semicolon_token: missing (optional), }, ], eof_token: EOF@15..15 "" [] [], } 0: JS_MODULE@0..15 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..15 0: JS_EXPRESSION_STATEMENT@0..15 0: JS_ASSIGNMENT_EXPRESSION@0..15 0: JS_BOGUS_ASSIGNMENT@0..8 0: JS_REGEX_LITERAL@0..8 "/=0*_:m/" [] [] 1: EQ@8..15 "=" [] [Comments("/*_:|\n")] 2: (empty) 1: (empty) 4: EOF@15..15 "" [] [] -- js_regex_assignment.js:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Invalid assignment to `/=0*_:m/` > 1 │ /=0*_:m/=/*_:| │ ^^^^^^^^ 2 │ i This expression cannot be assigned to -- js_regex_assignment.js:2:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × unterminated block comment 1 │ /=0*_:m/=/*_:| > 2 │ │ i ... but the file ends here 1 │ /=0*_:m/=/*_:| > 2 │ │ i A block comment starts here > 1 │ /=0*_:m/=/*_:| │ ^^ 2 │ -- /=0*_:m/=/*_:|