No one was able to answer Rich Collins's question:

Can someone explain Javascript constructors to me:

function Foo(){
this.bar = "bar"
}

my_foo = new Foo

Does new construct and object and then run Foo on it?

The scoping is a bit confusing.

People succeed in answering Rich Collins's questions 37% of the time (32 successes in 86 attempts).

age6racer's Answer:

Chat Conversation 966 days ago

hi Rich Collins at 2:31 AM on Thursday May 18th, 2006
man that hide question bug is annoying Rich Collins at 2:31 AM on Thursday May 18th, 2006
cant replicate it Rich Collins at 2:31 AM on Thursday May 18th, 2006
Guess you aren't here - I will throw you some bucks Rich Collins at 2:33 AM on Thursday May 18th, 2006
Ah nevermind I found the answer Rich Collins at 4:19 AM on Thursday May 18th, 2006
When JavaScript sees the new operator, it creates a new generic object and passes this new object as the value of the this keyword to the WorkerBee constructor function. The constructor function explicitly sets the value of the projects property. It also sets the value of the internal __proto__ property to the value of WorkerBee.prototype. (That property name has two underscore characters at the front and two at the end.) The __proto__ property determines the prototype chain used to return property values. Once these properties are set, JavaScript returns the new object and the assignment statement sets the variable mark to that object. Rich Collins at 4:19 AM on Thursday May 18th, 2006
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Details_of_the_Object_Model Rich Collins at 4:19 AM on Thursday May 18th, 2006