<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Disallow trailing commas in arrow function arguments, e.g. (X,)=>1"
href="https://bugs.webkit.org/show_bug.cgi?id=162358#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Disallow trailing commas in arrow function arguments, e.g. (X,)=>1"
href="https://bugs.webkit.org/show_bug.cgi?id=162358">bug 162358</a>
from <span class="vcard"><a class="email" href="mailto:gskachkov@gmail.com" title="GSkachkov <gskachkov@gmail.com>"> <span class="fn">GSkachkov</span></a>
</span></b>
<pre>He he.
It is not bug it is a feature of ECMA 2017
Before proposal of this syntax was on stage 3, at beginning of November it was merged to master <a href="https://github.com/tc39/ecma262/pull/711">https://github.com/tc39/ecma262/pull/711</a>
In spec <a href="https://tc39.github.io/ecma262/#prod-FormalParameters">https://tc39.github.io/ecma262/#prod-FormalParameters</a> can be found:
FormalParameters can be:
FormalParameterList[?Yield, ?Await],
Actually both Chrome Canary (57.0.2939.0 canary (64-bit)) and FireFox Nightly (52.0a1 (2016-10-15) (64-bit)) support this syntax now</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>