René's URL Explorer Experiment


Title: GitHub - mjurincic/JavaScript-Essentials: Useful JavaScript code snippets for solving common problems

Open Graph Title: GitHub - mjurincic/JavaScript-Essentials: Useful JavaScript code snippets for solving common problems

X Title: GitHub - mjurincic/JavaScript-Essentials: Useful JavaScript code snippets for solving common problems

Description: Useful JavaScript code snippets for solving common problems - mjurincic/JavaScript-Essentials

Open Graph Description: Useful JavaScript code snippets for solving common problems - mjurincic/JavaScript-Essentials

X Description: Useful JavaScript code snippets for solving common problems - mjurincic/JavaScript-Essentials

Opengraph URL: https://github.com/mjurincic/JavaScript-Essentials

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:496cd7bc-a146-f902-36ca-0785aa9710cb
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id99DE:25B18C:2BFB36:3E093D:696F7E6A
html-safe-noncec27ba0eb01dd584130dd7be1132a79c71a577134ed0d71dfd1c038ea903d52a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OURFOjI1QjE4QzoyQkZCMzY6M0UwOTNEOjY5NkY3RTZBIiwidmlzaXRvcl9pZCI6IjQ4ODA2NTE4MjMwNTI5Nzk4MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb1a62e559234e54d12e89c9ae3d627acfa70c8af9937c9690f24afd7828e4c88
hovercard-subject-tagrepository:139148869
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/mjurincic/JavaScript-Essentials
twitter:imagehttps://opengraph.githubassets.com/98acb2a4058bd2cc155866e8ddac275f1f9f693776a439e5684580201309fd3d/mjurincic/JavaScript-Essentials
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/98acb2a4058bd2cc155866e8ddac275f1f9f693776a439e5684580201309fd3d/mjurincic/JavaScript-Essentials
og:image:altUseful JavaScript code snippets for solving common problems - mjurincic/JavaScript-Essentials
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None759c36b32159cc867ba926786bbd5ac69b0804c9cfc86536a67b3567e8bbbb5c
turbo-cache-controlno-preview
go-importgithub.com/mjurincic/JavaScript-Essentials git https://github.com/mjurincic/JavaScript-Essentials.git
octolytics-dimension-user_id4266
octolytics-dimension-user_loginmjurincic
octolytics-dimension-repository_id139148869
octolytics-dimension-repository_nwomjurincic/JavaScript-Essentials
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id11257105
octolytics-dimension-repository_parent_nwoflipflop/JavaScript-Essentials
octolytics-dimension-repository_network_root_id11257105
octolytics-dimension-repository_network_root_nwoflipflop/JavaScript-Essentials
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
release08632b85cc9aa97742e56978eb25cc43ca37e51b
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmjurincic%2FJavaScript-Essentials
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmjurincic%2FJavaScript-Essentials
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=mjurincic%2FJavaScript-Essentials
Reloadhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Reloadhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Reloadhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
mjurincic https://patch-diff.githubusercontent.com/mjurincic
JavaScript-Essentialshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
flipflop/JavaScript-Essentialshttps://patch-diff.githubusercontent.com/flipflop/JavaScript-Essentials
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmjurincic%2FJavaScript-Essentials
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fmjurincic%2FJavaScript-Essentials
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fmjurincic%2FJavaScript-Essentials
0 stars https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/stargazers
3 forks https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/forks
Branches https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/branches
Tags https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/tags
Activity https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fmjurincic%2FJavaScript-Essentials
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmjurincic%2FJavaScript-Essentials
Code https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Pull requests 0 https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/pulls
Actions https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/actions
Projects 0 https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/projects
Wiki https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/security
Please reload this pagehttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Insights https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/pulse
Code https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Pull requests https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/pulls
Actions https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/actions
Projects https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/projects
Wiki https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/wiki
Security https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/security
Insights https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/pulse
Brancheshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/branches
Tagshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/tags
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/branches
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/tags
14 Commitshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/commits/master/
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/commits/master/
README.mdhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#1-js-namespacing
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#2-get-a-class-name-from-multiples
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#3-argument-defaulting
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#4-toggle-display
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#5-cross-browser-event-reduction
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#6-code-convention-for-module-pattern-component
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#7-annonymous-immediately-invoking-function-iff
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#8-module-pattern-extended
Reference:http://www.wait-till-i.com/2007/07/24/show-love-to-the-module-pattern/
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#9-hash-table-methods-or-handy-nvp-data-storage
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#10-quick-n-dirty-arraycontains
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#11-front-end-performance-tip-for-string-concatenation
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#12-module-pattern-public-and-private-members-within-a-namespace
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#13-multi-line-alternative-to-string-concatenation
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#14-faster-loops
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#15-closure-to-encapsulate-lost-scope
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#16-property-checking
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#17-jquery-selector-caching
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#18-force-a-boolean
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#19--append-an-array-to-another-array
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#20-order-an-array-and-get-highest-or-lowest
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#21-shuffle-an-array
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#22-syntaxerror-javascript-15
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#23-function-hijacking
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#24-call-a-function-in-a-parent-class
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#25-add-in-memoization-example
Reference:http://unscriptable.com/2009/05/01/a-better-javascript-memoizer/
Reference:http://philogb.github.io/blog/2008/09/05/memoization-in-javascript/
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#26-inheritance
Referencehttps://developer.mozilla.org/en/Introduction_to_Object-Oriented_JavaScript
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#27-performant-strings
Reference:http://dev.opera.com/articles/view/efficient-javascript/?page=1
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#28-padding-a-string-without-code-branching
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#29-isarray
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#30-range
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#31-is-array
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#32-push-state--location-hash
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#33-convert-to-an-integer-instead-of-mathfloor---possibly-a-faster-alternative
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#34-javascript-templates-also-executes-quickly---easy-to-read
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#35-quick-indexof-in-an-array
Reference:http://www.javascriptturnsmeon.com/the-tilde-operator-in-javascript/
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#36-get-a-property-from-an-object-utilities
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#37-reverse-a-string
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#38-javascript-truncation-operator
https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#39-quick-charat-in-string
Readme https://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials#readme-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials
Activityhttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/activity
0 starshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/watchers
0 forkshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fmjurincic%2FJavaScript-Essentials&report=mjurincic+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/mjurincic/JavaScript-Essentials/releases
Packages 0https://patch-diff.githubusercontent.com/users/mjurincic/packages?repo_name=JavaScript-Essentials
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.