无法构建以 'HTMLElement' 为超类的类

作者: duzy创建于 2020年12月19日更新于 2020年12月19日

跟踪编译后的代码如下:

javascript
var e, r = customElements, n = (e = HTMLElement, $traceurRuntime.createClass((function e() { $traceurRuntime.superConstructor(e).call(this), this.style = 'color: red;'; }), {}, e));

内容来源: google/traceur-compiler