It means "variable" . It's how you define something. Not using it will cost you performance-wise. (however small that may be)

On 7/4/06, Nicolas Terray <[EMAIL PROTECTED]> wrote:
Hi everybody,

Sorry to be a little off-topic, but I know that some js experts are
listening to me here.

What is the keyword 'var' ? When do I must/can't use it ?

In my current development, I do not use 'var' however I have strange
behaviours (aka It doesn't work) in some version of IE6. I thought
that this keyword was not mandatory but now I doubt.

Any help or pointers on the subject will be more than welcome.

Thanks,
Nicolas Terray
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to