On 9/22/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > null is a value directly assignable to a variable. "undefined" is a string > represntation of a javascript type.
There is window.undefined which is of the ECMAScript built-in type "Undefined". ECMAScript 4.2 > > var foo; > > alert(foo == null); // true Because both built-in types, Null and Undefined, evaluate to false in boolean context. ECMAScript 9.2 foo === null // false > Otherwise you are creating new objects in memory (strings of > "undefined"), Not true. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
