Closed
Bug 592188
Opened 14 years ago
Closed 14 years ago
Function prototype properties leak through to narcissus objects
Categories
(Other Applications Graveyard :: Narcissus, defect)
Other Applications Graveyard
Narcissus
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: shu, Unassigned)
Details
njs> Array.apply function apply() { [native code] } I imagine this is due to how these are reflected, i.e. jsexec.js: 127 Array: function (dummy) { 128 // Array when called as a function acts as a constructor. 129 return Array.apply(this, arguments); 130 } Since they're functions, they get everything in Function's prototype.
Comment 1•14 years ago
|
||
I don't understand what's wrong with this. Try it at the SpiderMonkey shell: js> Array.apply function apply() {[native code]} Dave
Reporter | ||
Comment 2•14 years ago
|
||
Ah, was not aware this is intended behavior. Closing this bug as invalid.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Updated•5 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•