René's URL Explorer Experiment


Title: --use-strict flag doesn't apply strict mode to script · Issue #30039 · nodejs/node · GitHub

Open Graph Title: --use-strict flag doesn't apply strict mode to script · Issue #30039 · nodejs/node

X Title: --use-strict flag doesn't apply strict mode to script · Issue #30039 · nodejs/node

Description: Node 12.*: Windows 64bit, Debian 64bit: The --use-strict flag doesn't apply strict mode to script. reproduction: echo a = 1 > test.js && node --use-strict test expected behavior: ReferenceError: a is not defined is thrown. behavior: scri...

Open Graph Description: Node 12.*: Windows 64bit, Debian 64bit: The --use-strict flag doesn't apply strict mode to script. reproduction: echo a = 1 > test.js && node --use-strict test expected behavior: ReferenceError: a ...

X Description: Node 12.*: Windows 64bit, Debian 64bit: The --use-strict flag doesn't apply strict mode to script. reproduction: echo a = 1 > test.js && node --use-strict test expected behavior: Ref...

Opengraph URL: https://github.com/nodejs/node/issues/30039

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--use-strict flag doesn't apply strict mode to script","articleBody":"* Node 12.*:\r\n* Windows 64bit, Debian 64bit:\r\n\r\nThe `--use-strict` flag doesn't apply strict mode to script.\r\nreproduction:\r\n```\r\necho a = 1 > test.js && node --use-strict test\r\n```\r\nexpected behavior:\r\n    `ReferenceError: a is not defined` is thrown.\r\nbehavior:\r\n    script executes without any issue.\r\n\r\nhowever it works as expected when node is started first and script is called from repl.\r\n\u003c12 versions aren't affected. \r\n\r\n```\r\nnode --use-strict\r\nWelcome to Node.js v12.12.0.\r\nType \".help\" for more information.\r\n> a = 1\r\nThrown:\r\nReferenceError: a is not defined\r\n>\r\n```","author":{"url":"https://github.com/Pravv","@type":"Person","name":"Pravv"},"datePublished":"2019-10-19T20:31:50Z","url":"https://github.com/nodejs/node/issues/30039"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:324a1090-d960-5923-9e8a-3b06c9fcbc1d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9CC2:2568D:EE677F:13D3F2F:6AED4922
html-safe-noncecfb005a80d6dbe2ffc5b64c23796e8dd41c549769f1f47a160a96968d41b0ee2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0MyOjI1NjhEOkVFNjc3RjoxM0QzRjJGOjZBRUQ0OTIyIiwidmlzaXRvcl9pZCI6IjQzNDYxODYwNDEyMjQxNTMzNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac74433360e58edd5dc8273dddba01a60f258a27501a42fe6590b2dc33ea6cf33a
hovercard-subject-tagissue:509506203
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/30039/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50d3652addb59ad5940099c1f913b0d1708c60f8fb491b92fc5830d4e19485c9/nodejs/node/issues/30039
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50d3652addb59ad5940099c1f913b0d1708c60f8fb491b92fc5830d4e19485c9/nodejs/node/issues/30039
og:image:altNode 12.*: Windows 64bit, Debian 64bit: The --use-strict flag doesn't apply strict mode to script. reproduction: echo a = 1 > test.js && node --use-strict test expected behavior: ReferenceError: a ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePravv
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/30039#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F30039
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F30039
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/30039
Reloadhttps://github.com/nodejs/node/issues/30039
Reloadhttps://github.com/nodejs/node/issues/30039
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues654 (654)https://github.com/nodejs/node/issues
Pull requests662 (662)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30039
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30039
#65248https://github.com/nodejs/node/pull/65248
--use-strict flag doesn't apply strict mode to scripthttps://github.com/nodejs/node/issues/30039#top
#65248https://github.com/nodejs/node/pull/65248
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
v8 engineIssues and PRs related to the V8 dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v8%20engine%22
https://github.com/Pravv
Pravvhttps://github.com/Pravv
on Oct 19, 2019https://github.com/nodejs/node/issues/30039#issue-509506203
https://github.com/SaltyMonkey
SaltyMonkeyhttps://github.com/SaltyMonkey
on Oct 19, 2019https://github.com/nodejs/node/issues/30039#issuecomment-544195654
addaleaxhttps://github.com/addaleax
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
v8 engineIssues and PRs related to the V8 dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v8%20engine%22
on Oct 19, 2019https://github.com/nodejs/node/issues/30039#event-2727348377
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
on Oct 20, 2019https://github.com/nodejs/node/issues/30039#issuecomment-544208368
b338edbhttps://github.com/nodejs/node/commit/b338edbb0ab1ae9823d1128ef9baa4295885b9d7
@hashseedhttps://github.com/hashseed
@ryzokukenhttps://github.com/ryzokuken
https://github.com/hashseed
hashseedhttps://github.com/hashseed
on Oct 20, 2019https://github.com/nodejs/node/issues/30039#issuecomment-544226495
https://github.com/targos
targoshttps://github.com/targos
on Oct 22, 2019https://github.com/nodejs/node/issues/30039#issuecomment-544968615
@hashseedhttps://github.com/hashseed
https://github.com/v8/v8/blob/16b83b1b4a30f4c71b3114a19926169190785f2c/src/codegen/compiler.cc#L2079-L2164https://github.com/v8/v8/blob/16b83b1b4a30f4c71b3114a19926169190785f2c/src/codegen/compiler.cc#L2079-L2164
https://github.com/ryzokuken
ryzokukenhttps://github.com/ryzokuken
on Oct 26, 2019https://github.com/nodejs/node/issues/30039#issuecomment-546581876
@targoshttps://github.com/targos
https://github.com/alexfernandez
alexfernandezhttps://github.com/alexfernandez
on Aug 10, 2020https://github.com/nodejs/node/issues/30039#issuecomment-671407603
teneightfivehttps://github.com/teneightfive
on Apr 23, 2021https://github.com/nodejs/node/issues/30039#event-4635815448
chore: Run app in strict modehttps://github.com/ministryofjustice/hmpps-book-secure-move-frontend/commit/48c639e01e3f58daf8971ab1b695d48a36082a24
48c639ehttps://github.com/ministryofjustice/hmpps-book-secure-move-frontend/commit/48c639e01e3f58daf8971ab1b695d48a36082a24
https://github.com/DVLP
DVLPhttps://github.com/DVLP
on Jun 17, 2022https://github.com/nodejs/node/issues/30039#issuecomment-1159269738
https://github.com/loynoir
loynoirhttps://github.com/loynoir
on May 12, 2023https://github.com/nodejs/node/issues/30039#issuecomment-1545961741
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/30039
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30039
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
v8 engineIssues and PRs related to the V8 dependency.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v8%20engine%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.