archives

« Bugzilla Issues Index

#2918 — Remove [Default] from grammar


14.1

FunctionDeclaration[Yield,Default] :
function BindingIdentifier[?Yield, ?Default] ( FormalParameters ) { FunctionBody }

...and other places.

I thought it was decided to remove the special default declaration forms since they add no benefit over `export default expression`.




*** This bug has been marked as a duplicate of bug 2302 ***