-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
assert: confusion between JS strict mode and assert strict mode #30485
Comments
The assert Using assert's strict mode means e.g. |
If you have a recommendation to improve the documentation, please open a PR for that :) |
@BridgeAR added some content to point the differences out. Please take a look if the change is okay. |
Ping @BridgeAR I think this issue can be closed now. |
Yes @juanarbol! This can be closed now. |
Hi maintainers,
I was just going through the docs of the
assert
module and was confused with the whole idea of strict mode there. It'd great if someone can give a brief idea behind the way it is implemented now and the reasoning behind it.PS: I literally tried adding
"use strict";
hoping it'd be picked up.The text was updated successfully, but these errors were encountered: