Incorrect syntax for JSON.stringify() demo
shawnkost opened this issue · 2 comments
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
What specific section or headline is this issue about?
Try it
What information was incorrect, unhelpful, or incomplete?
The expected output for the JSON strings in the "Try it" section of the page, is incorrect. It says that the result should be wrapped in double quotes, rather than single quotes.
What did you expect to see?
The expected output for each of the example strings in the "Try it" area should be wrapped in single quotes rather than double quotes
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/javascript/reference/global_objects/json/stringify
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/reference/global_objects/json/stringify/index.md
- Last commit: mdn/content@a92a2bb
- Document last modified: 2023-04-06T04:58:26.000Z
It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.
Thanks @shawnkost - and for taking the time to create a PR to fix this.