D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Some help with javascript & firefox

 

Steven may correct me if I'm wrong on this but IIRC _javascript_ evaluates
symbols thus:

== (double =) means 'this is the content of'
=  means 'this is the result of'


Sorry, I'm going to have to correct you here.

== is a comparison _expression_ that evaluates to true or false, so 3 == 4 evaluates to false, but 3 == 3 is true.
=   is the assignment operator. So a = 3 sets the value of the variable a to 3.


I hope that clears that up for people a little bit.
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html