From: Garrett Smith on
Asen Bozhilov wrote:
> Garrett Smith wrote:
>
>> Upon entering an execution context, the variable object is created. For
>> each parameter variable, a property is created and given the initial
>> value `undefined`.
>
> It's true only for parameters, for which caller doesn't supply values.
> If caller supply value for argument, during Variable Instantiation on
> created property of VO with name Identifier will be assign value,
> which provided by caller.
>
Right. Thanks.
--
Garrett
comp.lang.javascript FAQ: http://jibbering.com/faq/
From: Dmitry A. Soshnikov on
On Apr 20, 5:34 am, Garrett Smith <dhtmlkitc...(a)gmail.com> wrote:

<snip>

>
> There are still problems with the grammar. Look at the first paragraph:
>
> | As we already know from the second chapter concerning variable object,
> | the data of an executions context (variables, function declarations
> | and formal parameters of functions) are stored as properties of this
> | variables object.
>
> That paragraph has more problems, still. Plural where not appropriate,
> misuse and omission of particles.
>
> | As we already know from the second chapter concerning *the* variable
> | object, the data of an *execution* context (variables, function
> | declarations*,* and formal parameters of functions) are stored as
> | properties of *the variable* object.
> --

OK, fixed; thanks.

Dmitry.
From: Garrett Smith on
Garrett Smith wrote:
> Asen Bozhilov wrote:
>> Garrett Smith wrote:
>>
>>> Upon entering an execution context, the variable object is created. For
>>> each parameter variable, a property is created and given the initial
>>> value `undefined`.
>>
>> It's true only for parameters, for which caller doesn't supply values.
>> If caller supply value for argument, during Variable Instantiation on
>> created property of VO with name Identifier will be assign value,
>> which provided by caller.
>>

There are still problems with the grammar. Look at the first paragraph:

| As we already know from the second chapter concerning variable object,
| the data of an executions context (variables, function declarations
| and formal parameters of functions) are stored as properties of this
| variables object.

That paragraph has more problems, still. Plural where not appropriate,
misuse and omission of particles.

| As we already know from the second chapter concerning *the* variable
| object, the data of an *execution* context (variables, function
| declarations*,* and formal parameters of functions) are stored as
| properties of *the variable* object.
--
Garrett
comp.lang.javascript FAQ: http://jibbering.com/faq/