Closed Bug 598156 Opened 14 years ago Closed 14 years ago

Possible to undefine window.JSON using unreachable code

Categories

(Core :: JavaScript Engine, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 595917

People

(Reporter: darktrojan, Unassigned)

References

()

Details

(Keywords: regression)

Pretty sure this code should alert [object JSON], not undefined:

alert(JSON);
if (false) {
  var JSON = 3;
}
Looks like the same issue as bug 595917.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.