gruss Adi,
molily ergaenzend lenke ich den blick auf folgenden vergleich
(this.constructor !== arguments.callee)
und empfehle zu diesem
thema als zusaetzliche lektuere:
- »Funktion nicht als Konstruktor« vom 27. 07. 2007
- »Verhalten nicht instanziierend aufgerufener Konstruktor-Funktion« vom 14. 11. 2008
so long - peterS. - pseliger@gmx.net
--
»Because objects in JavaScript are so flexible, you will want to think differently about class hierarchies.
Deep hierarchies are inappropriate. Shallow hierarchies are efficient and expressive.« - Douglas Crockford
ie:( fl:) br:> va:( ls:& fo:) rl:) n3;} n4:} ss:} de:µ js:} mo:? zu:]
»Because objects in JavaScript are so flexible, you will want to think differently about class hierarchies.
Deep hierarchies are inappropriate. Shallow hierarchies are efficient and expressive.« - Douglas Crockford
ie:( fl:) br:> va:( ls:& fo:) rl:) n3;} n4:} ss:} de:µ js:} mo:? zu:]