| route-pattern | /:user_id/:repository/wiki/:id(.:format) |
| route-controller | wiki |
| route-action | show |
| fetch-nonce | v2:a7826d56-a5e4-25d1-7e32-77791abbb641 |
| current-catalog-service-hash | 27690012a2eb28b75d0bacab0f2c11870266e8db9e019fa71fea812b82397bd6 |
| request-id | D74E:18163C:1436C1:1D00B9:6A636372 |
| html-safe-nonce | 3b629a5fb9672823488348fa74b1d39db6f61c1fee5da213a28df4f6fb610a5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzRFOjE4MTYzQzoxNDM2QzE6MUQwMEI5OjZBNjM2MzcyIiwidmlzaXRvcl9pZCI6IjUyNDA3NzA4ODA3ODQ3ODYyOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d85f1498ca486a4c31aa27fad963bf2b284b377ebbb694dca4f30b09cf184d3 |
| hovercard-subject-tag | repository:121485542 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///wiki/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
| twitter:image | https://opengraph.githubassets.com/6169ca23323e15d2d079bb5b661e3ef73ef61cde4b894515c3b2cfeb1fee53f8/Bunlong/The-Modern-JavaScript-Tutorial |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6169ca23323e15d2d079bb5b661e3ef73ef61cde4b894515c3b2cfeb1fee53f8/Bunlong/The-Modern-JavaScript-Tutorial |
| og:image:alt | Let learn JavaScript, starting from scratch and go on to advanced concepts. - Bunlong/The-Modern-JavaScript-Tutorial |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 669d3fcd704a169521d2b6431762f95a6878a9e8ccaf0fd5f2d0802fc5b971f9 |
| turbo-cache-control | no-preview |
| go-import | github.com/Bunlong/The-Modern-JavaScript-Tutorial git https://github.com/Bunlong/The-Modern-JavaScript-Tutorial.git |
| octolytics-dimension-user_id | 1308397 |
| octolytics-dimension-user_login | Bunlong |
| octolytics-dimension-repository_id | 121485542 |
| octolytics-dimension-repository_nwo | Bunlong/The-Modern-JavaScript-Tutorial |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 121485542 |
| octolytics-dimension-repository_network_root_nwo | Bunlong/The-Modern-JavaScript-Tutorial |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 20da292f132ff51328be50073854259f417052c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#start-of-content |
|
| https://Github.com/ |
|
Sign in
| https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBunlong%2FThe-Modern-JavaScript-Tutorial%2Fwiki%2F1.1-An-Introduction-to-JavaScript |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBunlong%2FThe-Modern-JavaScript-Tutorial%2Fwiki%2F1.1-An-Introduction-to-JavaScript |
|
Sign up
| https://Github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fwiki%2Fshow&source=header-repo&source_repo=Bunlong%2FThe-Modern-JavaScript-Tutorial |
| Reload | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
| Reload | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
| Reload | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
Bunlong
| https://Github.com/Bunlong |
| The-Modern-JavaScript-Tutorial | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial |
|
Notifications
| https://Github.com/login?return_to=%2FBunlong%2FThe-Modern-JavaScript-Tutorial |
|
Fork
8
| https://Github.com/login?return_to=%2FBunlong%2FThe-Modern-JavaScript-Tutorial |
|
Star
26
| https://Github.com/login?return_to=%2FBunlong%2FThe-Modern-JavaScript-Tutorial |
|
Code
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial |
|
Issues
0
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/issues |
|
Pull requests
0
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/pulls |
|
Actions
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/actions |
|
Projects
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/projects |
|
Wiki
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki |
|
Security and quality
0
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/security |
|
Insights
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/pulse |
|
Code
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial |
|
Issues
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/issues |
|
Pull requests
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/pulls |
|
Actions
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/actions |
|
Projects
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/projects |
|
Wiki
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki |
|
Security and quality
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/security |
|
Insights
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/pulse |
| Jump to bottom | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#wiki-pages-box |
| 4 revisions | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript/_history |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-is-javascript |
| Java | https://en.wikipedia.org/wiki/Java |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#why-javascript |
| ECMAScript | https://en.wikipedia.org/wiki/ECMAScript |
| JavaScript engine | https://en.wikipedia.org/wiki/JavaScript_engine |
| V8 | https://en.wikipedia.org/wiki/JavaScript_engine |
| SpiderMonkey | https://en.wikipedia.org/wiki/SpiderMonkey |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#how-engines-work |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-can-in-browser-javascript-do |
| Node.JS | https://en.wikipedia.org/wiki/Node.js |
| AJAX | https://en.wikipedia.org/wiki/Ajax_(programming) |
| COMET | https://en.wikipedia.org/wiki/Comet_(programming) |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-cant-in-browser-javascript-do |
| NSA | https://en.wikipedia.org/wiki/National_Security_Agency |
| http://anysite.com | http://anysite.com |
| http://gmail.com | http://gmail.com |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-makes-javascript-unique |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#languages-over-javascript |
| CoffeeScript | http://coffeescript.org/ |
| TypeScript | http://www.typescriptlang.org/ |
| Dart | https://www.dartlang.org/ |
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#summary |
|
Home
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
1.1 An Introduction to JavaScript
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
| What is JavaScript? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-is-javascript |
| Why JavaScript? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#why-javascript |
| How engines work? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#how-engines-work |
| What can in-browser JavaScript do? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-can-in-browser-javascript-do |
| What CAN’T in-browser JavaScript do? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-cant-in-browser-javascript-do |
| What makes JavaScript unique? | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#what-makes-javascript-unique |
| Languages “over” JavaScript | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#languages-over-javascript |
| Summary | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript#summary |
|
1.2 Code editors
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.2-Code-editors |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
1.3 Developer console
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.3-Developer-console |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.1 Hello, world!
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.1-Hello,-world! |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.10 Conditional operators: if, '?'
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.10-Conditional-operators:-if,-'%3F' |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.11 Logical operators
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.11-Logical-operators |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.12 Loops: while and for
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.12-Loops:-while-and-for |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.13 The "switch" statement
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.13-The-%22switch%22-statement |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.14 Functions
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.14-Functions |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.15 Function expressions and arrows
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.15-Function-expressions-and-arrows |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.16 JavaScript specials
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.16-JavaScript-specials |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.2 Code structure
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.2-Code-structure |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.3 The modern mode, "use strict"
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.3-The-modern-mode,-%22use-strict%22 |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.4 Variables
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.4-Variables |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.5 Data types
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.5-Data-types |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.6 Type Conversions
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.6-Type-Conversions |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.7 Operators
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.7-Operators |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.8 Comparisons
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.8-Comparisons |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
2.9 Interaction: alert, prompt, confirm
| https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/2.9-Interaction:-alert,-prompt,-confirm |
| Please reload this page | https://Github.com/Bunlong/The-Modern-JavaScript-Tutorial/wiki/1.1-An-Introduction-to-JavaScript |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |