Closed
Bug 383201
Opened 19 years ago
Closed 19 years ago
Functions created with a "function" statement are not instances of the "Function" object (only chrome)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 300079
People
(Reporter: z.y, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Reproducible: Always
Steps to Reproduce:
1.Run this code in the chrome script:
function A(){};
alert(A instanceof Function);
Actual Results:
false
Expected Results:
true
Updated•19 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•