Re: "with" statement, extending prototype
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: "with" statement, extending prototype

From: Richard Cornford <Richard@litotes.demon.co.uk>
Date: Sat Apr 08 2006 - 15:27:00 CEST

Richard Cornford wrote:
> Eric Anderson wrote:
>> Julian Turner wrote:
<snip>
>>> not do, is create a new property of the object, if
>>> it cannot find one.
>
> The evaluation of the PrimaryExpression -
>... that object.
>
> If an object ... properties.
<snip>
>> This assignment of properties when entering the execution
>> context includes variables and functions declared in a
>> "with" statement.
>
> The evaluation of the PrimaryExpression -
> ... that object.
>
> If an object ... properties.

The repletion of these two paragraphs is a cut-and-paste error. They can
be ignored in this context. The following paragraph is the start of my
response to the preceding text.

> Well, strictly ...
<snip>

Richard.
Received on Mon May 1 04:49:52 2006