new defines an new instance of an Object / class.

Some things dont need "new" and some do.

It has nothing to dow tih Cross browser afaik


Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Mojito" <tokyot...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Thursday, August 20, 2009 7:29 AM
Subject: [Proto-Scripty] to NEW or not to NEW, that is the question


>
> Which is more proper?
>
> new Effect.Fade(......)
>
> or
>
> Effect.Fade(......)
>
> Both work for me. I'm just wondering which one is more cross browser
> compatible or runs faster.
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to