| react-profiling | 0 |
| react-import-map | react,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/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:d1b82e94-4342-daeb-3f40-8f5339267944 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 82D2:6CED4:184D24:2298AA:6AFC7320 |
| html-safe-nonce | 5df288ae1926cd4c9cb153fb274483e9068e8961f375bec46ede0cce7221f18f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkQyOjZDRUQ0OjE4NEQyNDoyMjk4QUE6NkFGQzczMjAiLCJ2aXNpdG9yX2lkIjoiMzUzMzkyNjU5Njg4ODc4ODgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a1a7a603a9b98b9e9a9788d8043907e5e96f0fef012a39c766d64fdd6740d438 |
| hovercard-subject-tag | repository:87901764 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern |
| twitter:image | https://opengraph.githubassets.com/ca211fefac3802ccbc35faf826d6ba92e3026eb6bb0bd6b5df6de723d0cce2de/ngto/javascript |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca211fefac3802ccbc35faf826d6ba92e3026eb6bb0bd6b5df6de723d0cce2de/ngto/javascript |
| og:image:alt | 包含javascript的基础语法,面向对象的实现和设计模式实现. Contribute to ngto/javascript development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0400aaa3adebc3df5b3d70984789caaa7772d54ded54da6be732f4f29987fd8 |
| turbo-cache-control | no-cache |
| go-import | github.com/ngto/javascript git https://github.com/ngto/javascript.git |
| octolytics-dimension-user_id | 13882476 |
| octolytics-dimension-user_login | ngto |
| octolytics-dimension-repository_id | 87901764 |
| octolytics-dimension-repository_nwo | ngto/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 11971410 |
| octolytics-dimension-repository_parent_nwo | wchaowu/javascript |
| octolytics-dimension-repository_network_root_id | 11971410 |
| octolytics-dimension-repository_network_root_nwo | wchaowu/javascript |
| 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 | 582365d64c0339cca0368fed1331a8172e39e9a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fngto%2Fjavascript%2Fcommits%2Fmaster%2FJavaScript-Design-Patterns%2FState-Pattern |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fngto%2Fjavascript%2Fcommits%2Fmaster%2FJavaScript-Design-Patterns%2FState-Pattern |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=ngto%2Fjavascript |
| Reload | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern |
| Reload | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern |
| Reload | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern |
| ngto | https://redirect.github.com/ngto |
| javascript | https://redirect.github.com/ngto/javascript |
| Code | https://redirect.github.com/ngto/javascript |
| Pull requests | https://redirect.github.com/ngto/javascript/pulls |
| Actions | https://redirect.github.com/ngto/javascript/actions |
| Projects | https://redirect.github.com/ngto/javascript/projects |
| Wiki | https://redirect.github.com/ngto/javascript/wiki |
| Security and quality | https://redirect.github.com/ngto/javascript/security |
| Insights | https://redirect.github.com/ngto/javascript/pulse |
| https://redirect.github.com/ngto/javascript |
| javascript | https://redirect.github.com/ngto/javascript/commits |
| JavaScript-Design-Patterns | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns |
| State-Pattern | https://redirect.github.com/ngto/javascript/commits/master/JavaScript-Design-Patterns/State-Pattern |
| master | https://redirect.github.com/ngto/javascript/tree/master |
| Update README.md | https://redirect.github.com/ngto/javascript/commit/8ad58307882b88ce5eba1e8353756a874f1de473 |
| https://redirect.github.com/wchaowu |
| wchaowu | https://redirect.github.com/ngto/javascript/commits?author=wchaowu |
| 8ad5830 | https://redirect.github.com/ngto/javascript/commit/8ad58307882b88ce5eba1e8353756a874f1de473 |
| https://redirect.github.com/ngto/javascript/blob/8ad58307882b88ce5eba1e8353756a874f1de473/JavaScript-Design-Patterns/State-Pattern |
| https://redirect.github.com/ngto/javascript/tree/8ad58307882b88ce5eba1e8353756a874f1de473 |
| 添加详细的描述,重构代码 | https://redirect.github.com/ngto/javascript/commit/ba6a577f348e2be402a19e2b67fd44afb036d8e5 |
| https://redirect.github.com/wchaowu |
| wchaowu | https://redirect.github.com/ngto/javascript/commits?author=wchaowu |
| ba6a577 | https://redirect.github.com/ngto/javascript/commit/ba6a577f348e2be402a19e2b67fd44afb036d8e5 |
| https://redirect.github.com/ngto/javascript/blob/ba6a577f348e2be402a19e2b67fd44afb036d8e5/JavaScript-Design-Patterns/State-Pattern |
| https://redirect.github.com/ngto/javascript/tree/ba6a577f348e2be402a19e2b67fd44afb036d8e5 |
| 添加详细的描述,重构代码 | https://redirect.github.com/ngto/javascript/commit/d646be5199775b112d4a92575ab5d4901b6cc763 |
| https://redirect.github.com/wchaowu |
| wchaowu | https://redirect.github.com/ngto/javascript/commits?author=wchaowu |
| d646be5 | https://redirect.github.com/ngto/javascript/commit/d646be5199775b112d4a92575ab5d4901b6cc763 |
| https://redirect.github.com/ngto/javascript/blob/d646be5199775b112d4a92575ab5d4901b6cc763/JavaScript-Design-Patterns/State-Pattern |
| https://redirect.github.com/ngto/javascript/tree/d646be5199775b112d4a92575ab5d4901b6cc763 |
|
| 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 |