Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variety of updates to modernize coverage of strict mode #14186

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Variety of updates to modernize coverage of strict mode #14186

merged 1 commit into from
Mar 22, 2022

Conversation

getify
Copy link
Contributor

@getify getify commented Mar 22, 2022

Summary

Removed a lot of old/incorrect or misleading information, including links to blog posts that are over a decade old and don't offer accurate information on the topic. Also clarified how Appendix B modifies some of strict mode's behaviors for browser JS environments (including the engine in Node.js).

Motivation

This text was really out of date. It doesn't seem to have been touched since ES6 (2015), and was still laden by a lot of outdated (and in some cases, inaccurate) information about strict mode from ES5 back around 2011.

Supporting details

Related issues

n/a

Metadata

  • Adds a new document
  • Rewrites (or significantly expands) a document
  • Fixes a typo, bug, or other error

Removed a lot of old/incorrect or misleading information, including links to blog posts that are over a decade old and don't offer accurate information on the topic. Also clarified how Appendix B modifies some of strict mode's behaviors for browser JS environments (including the engine in Node.js).
@getify getify requested a review from a team as a code owner March 22, 2022 20:02
@getify getify requested review from teoli2003 and removed request for a team March 22, 2022 20:02
@github-actions github-actions bot added the Content:JS JavaScript docs label Mar 22, 2022
@github-actions
Copy link
Contributor

Preview URLs

Flaws

None! 🎉

External URLs

URL: /en-US/docs/Web/JavaScript/Reference/Strict_mode
Title: Strict mode
on GitHub

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you @getify , great update!

@wbamberg wbamberg merged commit 089bee2 into mdn:main Mar 22, 2022
@getify getify deleted the patch-1 branch March 22, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:JS JavaScript docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants