René's URL Explorer Experiment


Title: Fix Prism API name: highlightElem -> highlightElement in MutationObserver article by Violet-Bora-Lee · Pull Request #3980 · javascript-tutorial/en.javascript.info · GitHub

Open Graph Title: Fix Prism API name: highlightElem -> highlightElement in MutationObserver article by Violet-Bora-Lee · Pull Request #3980 · javascript-tutorial/en.javascript.info

X Title: Fix Prism API name: highlightElem -> highlightElement in MutationObserver article by Violet-Bora-Lee · Pull Request #3980 · javascript-tutorial/en.javascript.info

Description: Fixes #3979 The MutationObserver article's prose and inline examples use Prism.highlightElem, which does not exist in the Prism.js API, while the demo code later in the same article correctly uses Prism.highlightElement. This PR unifies all 6 occurrences on the real API name. It also changes the two forEach(Prism.highlightElement) calls to pass only the element via an arrow function, since forEach supplies (element, index, array) which would collide with the highlightElement(element, async, callback) signature. 🤖 Generated with Claude Code https://claude.ai/code/session_01MizgRqMWEBSTYhJ9YhSd2g

Open Graph Description: Fixes #3979 The MutationObserver article's prose and inline examples use Prism.highlightElem, which does not exist in the Prism.js API, while the demo code later in the same article correctly u...

X Description: Fixes #3979 The MutationObserver article's prose and inline examples use Prism.highlightElem, which does not exist in the Prism.js API, while the demo code later in the same article correct...

Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/pull/3980

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8fb95c4-7a41-56dc-05ca-9ba428266ee2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCAC:31222B:E88911:1434681:6AFBF797
html-safe-noncefc44f31978cba134839bef98abbd6b1f1a528e113315c28091f4173fe31732dd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0FDOjMxMjIyQjpFODg5MTE6MTQzNDY4MTo2QUZCRjc5NyIsInZpc2l0b3JfaWQiOiI3ODEzODczMzkyNTUyNzY5NDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdf15fec5b83fecff56ea0ce89d43f4e0cdac94018089e6815c0adf48731b4268
hovercard-subject-tagpull_request:4084348551
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
twitter:imagehttps://avatars.githubusercontent.com/u/6451384?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6451384?s=400&v=4
og:image:altFixes #3979 The MutationObserver article's prose and inline examples use Prism.highlightElem, which does not exist in the Prism.js API, while the demo code later in the same article correctly u...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-preview
diff-viewunified
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-turbotrue
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

Links:

Skip to contenthttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F3980%2Ffiles
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%2Fpull%2F3980%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=javascript-tutorial%2Fen.javascript.info
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjavascript-tutorial%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
iliakanhttps://github.com/iliakan
javascript-tutorial:masterhttps://github.com/javascript-tutorial/en.javascript.info/tree/master
Violet-Bora-Lee:fix-prism-highlight-elementhttps://github.com/Violet-Bora-Lee/en.javascript.info/tree/fix-prism-highlight-element
Conversation 1 https://github.com/javascript-tutorial/en.javascript.info/pull/3980
Commits 1 https://github.com/javascript-tutorial/en.javascript.info/pull/3980/commits
Checks 0 https://github.com/javascript-tutorial/en.javascript.info/pull/3980/checks
Files changed https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Fix Prism API name: highlightElem -> highlightElement in MutationObserver article https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#top
Show all changes 1 commit https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
f7922ed Fix Prism API name: highlightElem -> highlightElement Violet-Bora-Lee Jul 19, 2026 https://github.com/javascript-tutorial/en.javascript.info/pull/3980/commits/f7922edae4f6be29a50fb99eb47b378d0216e403
Clear filters https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files
2-ui/99-ui-misc/01-mutation-observer/article.mdhttps://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#diff-d7ae7ffec390940c149055319685befe35b139583c3f4e64b2eab8e8bbc86265
View file https://github.com/Violet-Bora-Lee/en.javascript.info/blob/f7922edae4f6be29a50fb99eb47b378d0216e403/2-ui/99-ui-misc/01-mutation-observer/article.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/en.javascript.info/pull/3980/{{ revealButtonHref }}
https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#diff-d7ae7ffec390940c149055319685befe35b139583c3f4e64b2eab8e8bbc86265
https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#diff-d7ae7ffec390940c149055319685befe35b139583c3f4e64b2eab8e8bbc86265
https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#diff-d7ae7ffec390940c149055319685befe35b139583c3f4e64b2eab8e8bbc86265
https://github.com/javascript-tutorial/en.javascript.info/pull/3980/files#diff-d7ae7ffec390940c149055319685befe35b139583c3f4e64b2eab8e8bbc86265
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.