On Jun 3, 2:06 pm, Walter Lee Davis <[email protected]> wrote:
> Well, float is a kind of Number, so that's why you can't use that word  
> directly -- it's reserved by JavaScript, and 'you have to dance with  
> who brung ya'. In those cases, you can usually use css[the word] as a  
> substitute, so cssFloat in this case, if you want to use the bare  
> camelCase words.
>
But as Crockford points out in his book, (Appendix A: Awful Parts)
Javascript has a whole slew of reserved words, some of which are not
even used in the language!

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to