« Bugzilla Issues Index

#222 — Should the arguments object be in scope for parameter default value initializers?

Is this valid:

function foo(a=arguments) {return a};

In the Nov 7, 2011 draft it is.

As of the revision 5 draft, it isn't

it is now

fixed in rev23 editor's draft

fixed in rev23 draft