On Jun 29, 8:22 pm, Tobie Langel [EMAIL PROTECTED] wrote:
How is Class a constructor ?
Constructor in JavaScript is a function, which called with
var someObject = new someFunction();
returns an object, which behaves similar to all objects created the
same way.
So in my implementation (as in
On Jun 29, 8:22 pm, Tobie Langel [EMAIL PROTECTED] wrote:
Properties applied to it's prototype aren't available on the
instances.
My implementation breaks this 'chain' (properties from 'prototype'
accessible in objects created by 'new'), so I had to recreate it
myself.
PS. Sorry for my