Closed Bug 496530 Opened 15 years ago Closed 15 years ago

Error message changed from "is not a function

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: gkw, Unassigned)

Details

let print; 
delete print; 
print(1);

outputs 

({v:0, a:(void 0), c:(void 0), d:(void 0)})

with changeset 21500 (Nov 2008 dbg js shell build without -j) http://hg.mozilla.org/tracemonkey/rev/04c360f123e5

but outputs

({v:0, a:NaN, c:NaN, d:(void 0)})

with changeset 28939 (latest dbg js shell build without -j) http://hg.mozilla.org/tracemonkey/rev/6afc57314e74

===

$ 21500/js-dbg-tm-intelmac
js> var v = 0; {
    const a = d--;
    const c = a;
    const d
}
print(uneval(this))
js> ({v:0, a:(void 0), c:(void 0), d:(void 0)})
js> ^C
$ 28939/js-dbg-tm-intelmac 
js> var v = 0; {
    const a = d--;
    const c = a;
    const d
}
js> print(uneval(this))
({v:0, a:NaN, c:NaN, d:(void 0)})
js>
Clicked "Submit" or Shift-enter too quickly. The next filed one is correct, this is not.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
So sorry for the wrong submit.
Status: RESOLVED → VERIFIED
Keywords: regression, testcase
You need to log in before you can comment on or make changes to this bug.