mirror of
https://github.com/swc-project/swc.git
synced 2024-12-04 19:46:22 +03:00
20fb5bab32
**Related issue:** - Closes #8271.
17 lines
421 B
JavaScript
17 lines
421 B
JavaScript
console.log(new ((()=>{
|
|
let _classThis;
|
|
$eb2fd35624c84372$var$CustomElement("component-a");
|
|
let _classSuper = HTMLElement;
|
|
return class extends _classSuper {
|
|
static{
|
|
_classThis = this;
|
|
}
|
|
static{
|
|
console.log(123);
|
|
}
|
|
constructor(){
|
|
super(), this.innerHTML = "Component A is working";
|
|
}
|
|
}, _classThis;
|
|
})())().tagName);
|