perf(web/Event): move last class field to constructor
class Event {
constructor(type, eventInitDict = {}) {
+ // TODO(lucacasonato): remove when this interface is spec aligned
+ this[SymbolToStringTag] = "Event";
this[_canceledFlag] = false;
this[_stopPropagationFlag] = false;
this[_stopImmediatePropagationFlag] = false;
get timeStamp() {
return this[_attributes].timeStamp;
}
-
- // TODO(lucacasonato): remove when this interface is spec aligned
- [SymbolToStringTag] = "Event";
}
function defineEnumerableProps(
