-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed as not planned
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
π Search Terms
parse, class field, arguments
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
β― Playground Link
π» Code
"use strict";
const arguments = 42;
class A {
foo = arguments // should throw parse error, but not
}
π Actual behavior
Syntax error not thrown.
π Expected behavior
Throw syntax error.
Additional information about the issue

Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug