```javascript
class y{}class z{}
class x extends y, z{}/alert(1)/+alert(2)
```Edge seems to allow non-standard syntax here. I guess to allow you to extend multiple classes but as far as I'm aware this is non-standard syntax. The code above calls alert(2), if you change it to a class expression both alerts are called. It's a syntax error on other browsers.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

