Re: associative arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Nov 2, 2021, at 11:25 AM, Christoph M. Becker <cmbecker69@xxxxxx> wrote:
> 
> On 02.11.2021 at 07:24, JEFFRY KILLEN wrote:
>> Hello:
>> 
>> I have been programming php and javascript for some time.
>> I have not come on a way to navigate upward in javascript
>> objects (it does not have associative arrays but objects are
>> often used in the same way associative arrays are used)
>> 
>> To create a metaphor: it is like a squirrel jumps from another tree and lands on a branch. It
>> can find its way to the trunk and to the ground.
> 
> The squirrel doesn't ask the branch how to get to the trunk or to the
> ground, though.  Instead, it remembers its way so far. :)
> 
> --
> Christoph M. Becker

Yes, the squirrel doesn't ask the branch, It looks down the branch to the parent branch and
follows that path if it can't already see the ground. Even if it can see the ground it follows
the successive parent branches to the main trunk, or to other branches.

JK




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux