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)
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?
======================================
Comment 1•8 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → MOVED
Updated•7 years ago
|
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•