mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
32 lines
380 B
TypeScript
32 lines
380 B
TypeScript
class C {
|
|
"constructor"() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
class D {
|
|
'constructor'() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
class E {
|
|
['constructor']() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
new class {
|
|
"constructor"() {
|
|
console.log(this);
|
|
}
|
|
};
|
|
|
|
var o = { "constructor"() {} };
|
|
|
|
class F {
|
|
"\x63onstructor"() {
|
|
console.log(this);
|
|
}
|
|
}
|