Strangeness in CreateArgumentsObject definition

Oliver Hunt oliver at
Sun Sep 26 09:17:57 PDT 2010

Whoops, my bad curse you page breaks 


On Sep 26, 2010, at 3:17 AM, Mark S. Miller wrote:

> Hi Oliver, I believe the spec is correct.
> In non-strict mode, only callee is specified, although many implementations may provide a de-facto caller as well.
> In strict mode, both callee and caller are poisoned. arguments.caller is poisoned in step 14.b as you noticed. On the next page, arguments.callee is poisoned in step 14.c
> On Sun, Sep 26, 2010 at 3:00 AM, Oliver Hunt <oliver at> wrote:
> Section 10.6 describes the creation of the arguments object, most of which makes sense but i think there's a typo in step 14.
> Step 13 describes the definition of the callee property of the arguments object if strict == false
> Step 14 describes the creation of the _caller_ property if strict == true
> I assume that step 14 should be referring to the callee property, otherwise we're saying in strict mode arguments does not have a "callee" property, but does have a "caller" property that throws on all accesses.
> --Oliver
> _______________________________________________
> es-discuss mailing list
> es-discuss at
> -- 
>     Cheers,
>     --MarkM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list