Closed Bug 1452570 Opened 8 years ago Closed 8 years ago

[JavaScript Demo] Error in console.log with Array containing null/undefined

Categories

(developer.mozilla.org Graveyard :: General, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: kimphu2408, Unassigned)

References

Details

(Whiteboard: [specification][type:bug])

What did you do? ================ 1. Go to any page with JavaScript Demo (e.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) 2. Type `console.log([1, null]);` or `console.log([1, undefined]);` 3. Run What happened? ============== Output `Error: t is undefined` What should have happened? ========================== Output `> Array [1, null]` or `> Array [1, undefined]` Is there anything else we should know? ======================================
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → MOVED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.