[Javascript] Sorting Problem

Hakan M (Backbase) hakan at backbase.com
Wed Sep 15 04:00:06 CDT 2004


liorean wrote:
> On Tue, 14 Sep 2004 17:56:58 +0200, Hakan M (Backbase)
> <hakan at backbase.com> wrote:
> 
>>By the way,
>>    element1 - element2;
>>isn't really doing much, since the result is not assigned anywhere. ;)
> 
> 
> Au contraire, it is essential for it to work.

Please explain how the above statement affects the function, since the 
result of the subtraction is forgotten immediately. Neither values of 
element1 nor element2 have been altered.

Regards,
H



More information about the Javascript mailing list