Extends expression performs differently on Edge

Gareth Heyes gareth.heyes at portswigger.net
Fri May 26 09:16:51 UTC 2017


On 26 May 2017 at 10:14, Alexander Jones <alex at weej.com> wrote:

> `y, z` is comma operator, no?
>

Then z{} should be a syntax error. Look Edge is insane:

```javascript
class y{}class z{}1,class x extends y,/a/,x=>{},class z extends alert(1),
class abc{}{}{}/alert(2)/+alert(3)
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170526/64c53efa/attachment.html>


More information about the es-discuss mailing list