On 9/22/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:

> > Of cause, you can do arr[3] = undefined;,

> No, you can't. You can do arr[3] = "undefined" (string assignment), but not
> without the quotes as undefined is, well, undefined.

Just try it.

>>> var bar = ["a", "b"]
>>> bar[0] = undefined
>>> bar
[undefined,"b"]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to