class Foo { Foo() { this = "value"; // out: SyntaxError: unexpected "=" } } Foo();