Closed Bug 756731 Opened 13 years ago Closed 13 years ago

Globally scoped variables should become properties of the window object

Categories

(DevTools Graveyard :: Scratchpad, defect)

12 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 690529

People

(Reporter: allisoneer, Unassigned)

Details

In Nightly, running this:
var test = "test";
window.test;

Displays this:
/*
undefined
*/

Expected output is
/*
test
*/
because the context should default to the global 'window' object.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.