Re:An Introduction to JavaScript's "this"
by praptak on Sunday September 27, 2009 @10:41AM
(#846883)
"new", I believe, is actually an ancient relic of the prototypal class system.
I believe it is quite the opposite. It was a failed attempt to make the prototype-based object system look like class-based one. I vaguely remember reading this opinion in Crockford's "Javascript:The Good Parts" book.
I believe it is quite the opposite. It was a failed attempt to make the prototype-based object system look like class-based one. I vaguely remember reading this opinion in Crockford's "Javascript:The Good Parts" book.