Can someone explain to me in English what a constructor function is in JavaScript? What exactly is it used for? Is there anything in BASIC that is comparable to it?