René's URL Explorer Experiment


Title: MutationObserver article uses non-existent Prism.highlightElem instead of Prism.highlightElement · Issue #3979 · javascript-tutorial/en.javascript.info · GitHub

Open Graph Title: MutationObserver article uses non-existent Prism.highlightElem instead of Prism.highlightElement · Issue #3979 · javascript-tutorial/en.javascript.info

X Title: MutationObserver article uses non-existent Prism.highlightElem instead of Prism.highlightElement · Issue #3979 · javascript-tutorial/en.javascript.info

Description: Article https://javascript.info/mutation-observer (2-ui/99-ui-misc/01-mutation-observer/article.md) Problem The prose and inline code examples in the "Usage for architecture" section refer to Prism.highlightElem (6 occurrences), but this...

Open Graph Description: Article https://javascript.info/mutation-observer (2-ui/99-ui-misc/01-mutation-observer/article.md) Problem The prose and inline code examples in the "Usage for architecture" section refer to Prism...

X Description: Article https://javascript.info/mutation-observer (2-ui/99-ui-misc/01-mutation-observer/article.md) Problem The prose and inline code examples in the "Usage for architecture" section refe...

Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/issues/3979

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MutationObserver article uses non-existent Prism.highlightElem instead of Prism.highlightElement","articleBody":"## Article\nhttps://javascript.info/mutation-observer (`2-ui/99-ui-misc/01-mutation-observer/article.md`)\n\n## Problem\nThe prose and inline code examples in the \"Usage for architecture\" section refer to `Prism.highlightElem` (6 occurrences), but this method does not exist in the Prism.js API. The correct name is [`Prism.highlightElement`](https://prismjs.com/docs/functions/highlightElement/), which the demo code later in the same article already uses:\n\n```js\n// inline example (incorrect)\ndocument.querySelectorAll('pre[class*=\"language\"]').forEach(Prism.highlightElem);\n\n// demo code in the same article (correct)\nPrism.highlightElement(node);\n```\n\nReaders who copy the inline examples get a `TypeError`, and the inconsistency within one article is confusing (this was noticed during a review of the Korean translation: javascript-tutorial/ko.javascript.info#1900).\n\nA related nit in the same lines: passing the method reference directly to `forEach` forwards `(element, index, array)` into the `highlightElement(element, async, callback)` signature, so the index ends up as the `async` argument. Wrapping it in an arrow function that passes only the element avoids that.\n\nI'll send a PR fixing both.","author":{"url":"https://github.com/Violet-Bora-Lee","@type":"Person","name":"Violet-Bora-Lee"},"datePublished":"2026-07-19T01:42:05Z","url":"https://github.com/javascript-tutorial/en.javascript.info/issues/3979"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a4266e70-3ef0-566c-d0e8-206592c12a26
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC99E:25861A:386E7:4D7C9:6AFBF722
html-safe-nonce42100a428b41dcab9d44ca4af8ca680eeb11fcc01cd3164de2d3324e95d032a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTlFOjI1ODYxQTozODZFNzo0RDdDOTo2QUZCRjcyMiIsInZpc2l0b3JfaWQiOiIyNDY4MTQ5NzM0OTMwMTE4NDM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5988f2c05b7945b8ec56a1b3c21582f063bb2a4431964cd2c651bb790d4e111c
hovercard-subject-tagissue:4920837140
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/javascript-tutorial/en.javascript.info/3979/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7d9cdc36dffc4e407c641f25065308885267f2f10310702c4930aa6919fdb0f9/javascript-tutorial/en.javascript.info/issues/3979
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d9cdc36dffc4e407c641f25065308885267f2f10310702c4930aa6919fdb0f9/javascript-tutorial/en.javascript.info/issues/3979
og:image:altArticle https://javascript.info/mutation-observer (2-ui/99-ui-misc/01-mutation-observer/article.md) Problem The prose and inline code examples in the "Usage for architecture" section refer to Prism...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameViolet-Bora-Lee
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-preview
go-importgithub.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id93253246
octolytics-dimension-repository_nwojavascript-tutorial/en.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93253246
octolytics-dimension-repository_network_root_nwojavascript-tutorial/en.javascript.info
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
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/javascript-tutorial/en.javascript.info/issues/3979#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2F3979
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%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2F3979
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=javascript-tutorial%2Fen.javascript.info
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/issues/3979
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/issues/3979
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/issues/3979
javascript-tutorialhttps://github.com/javascript-tutorial
en.javascript.infohttps://github.com/javascript-tutorial/en.javascript.info
Codehttps://github.com/javascript-tutorial/en.javascript.info
Issues252 (252)https://github.com/javascript-tutorial/en.javascript.info/issues
Pull requests289 (289)https://github.com/javascript-tutorial/en.javascript.info/pulls
Discussionshttps://github.com/javascript-tutorial/en.javascript.info/discussions
Actionshttps://github.com/javascript-tutorial/en.javascript.info/actions
Security and qualityhttps://github.com/javascript-tutorial/en.javascript.info/security
Insightshttps://github.com/javascript-tutorial/en.javascript.info/pulse
https://github.com/javascript-tutorial/en.javascript.info
New issuehttps://github.com/login?return_to=https://github.com/javascript-tutorial/en.javascript.info/issues/3979
New issuehttps://github.com/login?return_to=https://github.com/javascript-tutorial/en.javascript.info/issues/3979
#3980https://github.com/javascript-tutorial/en.javascript.info/pull/3980
MutationObserver article uses non-existent Prism.highlightElem instead of Prism.highlightElementhttps://github.com/javascript-tutorial/en.javascript.info/issues/3979#top
#3980https://github.com/javascript-tutorial/en.javascript.info/pull/3980
https://github.com/Violet-Bora-Lee
Violet-Bora-Leehttps://github.com/Violet-Bora-Lee
on Jul 19, 2026https://github.com/javascript-tutorial/en.javascript.info/issues/3979#issue-4920837140
https://javascript.info/mutation-observerhttps://javascript.info/mutation-observer
Prism.highlightElementhttps://prismjs.com/docs/functions/highlightElement/
javascript-tutorial/ko.javascript.info#1900https://github.com/javascript-tutorial/ko.javascript.info/pull/1900
iliakanhttps://github.com/iliakan
completedhttps://github.com/javascript-tutorial/en.javascript.info/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3980https://github.com/javascript-tutorial/en.javascript.info/pull/3980
on Jul 19, 2026https://github.com/javascript-tutorial/en.javascript.info/issues/3979#event-28173051243
Sign up for freehttps://github.com/signup?return_to=https://github.com/javascript-tutorial/en.javascript.info/issues/3979
Sign in to commenthttps://github.com/login?return_to=https://github.com/javascript-tutorial/en.javascript.info/issues/3979
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.