Closed
Bug 1376223
Opened 8 years ago
Closed 5 years ago
"Promise" Advance Example CodePen Has a Bug
Categories
(Developer Documentation Graveyard :: JavaScript, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kellan.martin, Unassigned)
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. Went to "Promise" page (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
2. Opened up the CodePen for the "Advanced Example" (~1/2 way through the article)
3. Tried running example
What happened?
==============
Found there was en error in the CodePen in the form of a misplaced ')' at the end of the code.
What should have happened?
==========================
This CodePen should auto-run on open without the need to debug.
Is there anything else we should know?
======================================
N/A
Comment 1•8 years ago
|
||
The Syntax Error is also present in MDN sample version:
https://mdn.mozillademos.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise$samples/Creating_a_Promise?revision=1264907
Status: UNCONFIRMED → NEW
Component: General → JavaScript
Ever confirmed: true
Product: Mozilla Developer Network → Developer Documentation
Comment 2•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•