Meine Herren!
Manche schreiben ja
new function() { … };
anstatt
(function() { … })();
Danke für die Aufklärung. Die Schreibweise ist mir auch schon häufiger begegnet, findet aber in meinem aktiven JavaScript-Wortschatz keine Anwendung.
--
“All right, then, I'll go to hell.” – Huck Finn
“All right, then, I'll go to hell.” – Huck Finn