Bug 4042

Summary: this.constructor doesn't point to anonymous functions
Product: WebKit Reporter: Paul Sowden <paul>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: vicki
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Paul Sowden
Reported 2005-07-18 10:39:31 PDT
The following code doesn't work as expected: var myObj1 = function () { alert(this.constructor); }; var obj = new myObj1();
Attachments
Eric Seidel (no email)
Comment 1 2005-09-27 12:41:47 PDT
*** This bug has been marked as a duplicate of 3537 ***
Note You need to log in before you can comment on or make changes to this bug.