René's URL Explorer Experiment


Title: fe-code/JavaScriptStyleGuide.md at master · passiner/fe-code · GitHub

Open Graph Title: fe-code/JavaScriptStyleGuide.md at master · passiner/fe-code

X Title: fe-code/JavaScriptStyleGuide.md at master · passiner/fe-code

Description: 🍹🍰 愉快的写代码~(文章合集). Contribute to passiner/fe-code development by creating an account on GitHub.

Open Graph Description: 🍹🍰 愉快的写代码~(文章合集). Contribute to passiner/fe-code development by creating an account on GitHub.

X Description: 🍹🍰 愉快的写代码~(文章合集). Contribute to passiner/fe-code development by creating an account on GitHub.

Opengraph URL: https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:1a91705c-31bc-5361-3111-42b24d5ac7f0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC5F0:6764:303D23:3F831B:6A614AC2
html-safe-nonce9072fee33a9ac517ab9b6eec3323f38c3057c89769d7fffe2981a9698cc7dbb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUYwOjY3NjQ6MzAzRDIzOjNGODMxQjo2QTYxNEFDMiIsInZpc2l0b3JfaWQiOiI3Njc3Mjk4NjQ2NjIwMTI5OTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdf9fd7e367d26c566a11f4086a0bb8c2923e19a4a84186eaf0f42138436eb4e0
hovercard-subject-tagrepository:205665365
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md
twitter:imagehttps://opengraph.githubassets.com/7eafe9a441f3962c6f43ba93c176f66458180c992ae864a1e5f335c8ee525894/passiner/fe-code
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7eafe9a441f3962c6f43ba93c176f66458180c992ae864a1e5f335c8ee525894/passiner/fe-code
og:image:alt🍹🍰 愉快的写代码~(文章合集). Contribute to passiner/fe-code development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4876c15b81beff1a5306612a3386748550c731559f1dbbe4cf7146fda63fc0e0
turbo-cache-controlno-cache
go-importgithub.com/passiner/fe-code git https://github.com/passiner/fe-code.git
octolytics-dimension-user_id29862374
octolytics-dimension-user_loginpassiner
octolytics-dimension-repository_id205665365
octolytics-dimension-repository_nwopassiner/fe-code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id161760387
octolytics-dimension-repository_parent_nwowuyawei/fe-code
octolytics-dimension-repository_network_root_id161760387
octolytics-dimension-repository_network_root_nwowuyawei/fe-code
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
release3e1bd3b6ebab0d27ffbef3a6bbb1043bc5f098ae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpassiner%2Ffe-code%2Fblob%2Fmaster%2FJavaScriptStyleGuide.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpassiner%2Ffe-code%2Fblob%2Fmaster%2FJavaScriptStyleGuide.md
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%2Fblob%2Fshow&source=header-repo&source_repo=passiner%2Ffe-code
Reloadhttps://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md
Reloadhttps://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md
Reloadhttps://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md
passiner https://github.com/passiner
fe-codehttps://github.com/passiner/fe-code
wuyawei/fe-codehttps://github.com/wuyawei/fe-code
Notifications https://github.com/login?return_to=%2Fpassiner%2Ffe-code
Fork 0 https://github.com/login?return_to=%2Fpassiner%2Ffe-code
Star 0 https://github.com/login?return_to=%2Fpassiner%2Ffe-code
Code https://github.com/passiner/fe-code
Pull requests 0 https://github.com/passiner/fe-code/pulls
Actions https://github.com/passiner/fe-code/actions
Projects https://github.com/passiner/fe-code/projects
Security and quality 0 https://github.com/passiner/fe-code/security
Insights https://github.com/passiner/fe-code/pulse
Code https://github.com/passiner/fe-code
Pull requests https://github.com/passiner/fe-code/pulls
Actions https://github.com/passiner/fe-code/actions
Projects https://github.com/passiner/fe-code/projects
Security and quality https://github.com/passiner/fe-code/security
Insights https://github.com/passiner/fe-code/pulse
https://github.com/passiner/fe-code
fe-codehttps://github.com/passiner/fe-code/tree/master
Historyhttps://github.com/passiner/fe-code/commits/master/JavaScriptStyleGuide.md
https://github.com/passiner/fe-code/commits/master/JavaScriptStyleGuide.md
fe-codehttps://github.com/passiner/fe-code/tree/master
Rawhttps://github.com/passiner/fe-code/raw/refs/heads/master/JavaScriptStyleGuide.md
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#前端代码规范--javascript-风格指南
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#前言
airbnb/javascripthttps://github.com/airbnb/javascript#types
🍹🍰 fe-codehttps://github.com/wuyawei/fe-code
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#类型
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#状态的使用原文为-reference
prefer-consthttp://eslint.org/docs/rules/prefer-const.html
no-const-assignhttp://eslint.org/docs/rules/no-const-assign.html
no-varhttp://eslint.org/docs/rules/no-var.html
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#对象
no-new-objecthttp://eslint.org/docs/rules/no-new-object.html
object-shorthandhttp://eslint.org/docs/rules/object-shorthand.html
object-shorthandhttp://eslint.org/docs/rules/object-shorthand.html
quote-propshttp://eslint.org/docs/rules/quote-props.html
Object.assignhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#数组
no-array-constructorhttp://eslint.org/docs/rules/no-array-constructor.html
Array#pushhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/push
Array.fromhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from
Array.fromhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from
Array.fromhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from
8.2https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#arrows--implicit-return
array-callback-returnhttp://eslint.org/docs/rules/array-callback-return
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#解构
prefer-destructuringhttps://eslint.org/docs/rules/prefer-destructuring
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#字符串
quoteshttps://eslint.org/docs/rules/quotes.html
prefer-templatehttps://eslint.org/docs/rules/prefer-template.html
template-curly-spacinghttps://eslint.org/docs/rules/template-curly-spacing
no-evalhttps://eslint.org/docs/rules/no-eval
6.5https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#strings--escaping
no-useless-escapehttp://eslint.org/docs/rules/no-useless-escape
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#函数
func-stylehttp://eslint.org/docs/rules/func-style
Discussionhttps://github.com/airbnb/javascript/issues/794
wrap-iifehttp://eslint.org/docs/rules/wrap-iife.html
no-loop-funchttp://eslint.org/docs/rules/no-loop-func.html
prefer-rest-paramshttp://eslint.org/docs/rules/prefer-rest-params
no-new-funchttp://eslint.org/docs/rules/no-new-func
space-before-function-parenhttp://eslint.org/docs/rules/space-before-function-paren
space-before-blockshttp://eslint.org/docs/rules/space-before-blocks
no-param-reassignhttp://eslint.org/docs/rules/no-param-reassign.html
no-param-reassignhttp://eslint.org/docs/rules/no-param-reassign.html
prefer-spreadhttp://eslint.org/docs/rules/prefer-spread
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#箭头函数
prefer-arrow-callbackhttp://eslint.org/docs/rules/prefer-arrow-callback.html
arrow-spacinghttp://eslint.org/docs/rules/arrow-spacing.html
表达式https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Expressions
arrow-parenshttps://eslint.org/docs/rules/arrow-parens.html
arrow-body-stylehttps://eslint.org/docs/rules/arrow-body-style.html
arrow-parenshttps://eslint.org/docs/rules/arrow-parens.html
8.5https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#arrows--confusing
no-confusing-arrowhttp://eslint.org/docs/rules/no-confusing-arrow
implicit-arrow-linebreakhttps://eslint.org/docs/rules/implicit-arrow-linebreak
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#类和构造函数
no-useless-constructorhttp://eslint.org/docs/rules/no-useless-constructor
no-dupe-class-membershttp://eslint.org/docs/rules/no-dupe-class-members
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#模块
no-duplicate-importshttp://eslint.org/docs/rules/no-duplicate-imports
import/no-mutable-exportshttps://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-mutable-exports.md
import/prefer-default-exporthttps://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md
import/firsthttps://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md
import/no-webpack-loader-syntaxhttps://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#迭代器和生成器
no-iteratorhttp://eslint.org/docs/rules/no-iterator.html
no-restricted-syntaxhttp://eslint.org/docs/rules/no-restricted-syntax
我们的建议https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#generators--nope
generator-star-spacinghttp://eslint.org/docs/rules/generator-star-spacing
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#属性
dot-notationhttp://eslint.org/docs/rules/dot-notation.html
no-restricted-propertieshttps://eslint.org/docs/rules/no-restricted-properties
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#变量
no-undefhttp://eslint.org/docs/rules/no-undef
prefer-consthttp://eslint.org/docs/rules/prefer-const
one-varhttp://eslint.org/docs/rules/one-var.html
no-multi-assignhttps://eslint.org/docs/rules/no-multi-assign
no-plusplushttp://eslint.org/docs/rules/no-plusplus
max-lenhttps://eslint.org/docs/rules/max-len.html
operator-linebreakhttps://eslint.org/docs/rules/operator-linebreak.html
no-unused-varshttps://eslint.org/docs/rules/no-unused-vars
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#提升
Temporal Dead Zones (TDZ)https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone_and_errors_with_let
typeof不再安全http://es-discourse.com/t/why-typeof-is-no-longer-safe/15
JavaScript Scoping & Hoistinghttp://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting/
Ben Cherryhttp://www.adequatelygood.com/
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#比较和相等
eqeqeqhttp://eslint.org/docs/rules/eqeqeq.html
no-case-declarationshttp://eslint.org/docs/rules/no-case-declarations.html
no-nested-ternaryhttp://eslint.org/docs/rules/no-nested-ternary.html
no-unneeded-ternaryhttp://eslint.org/docs/rules/no-unneeded-ternary.html
no-mixed-operatorshttps://eslint.org/docs/rules/no-mixed-operators.html
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#块
nonblock-statement-body-positionhttps://eslint.org/docs/rules/nonblock-statement-body-position
brace-stylehttp://eslint.org/docs/rules/brace-style.html
no-else-returnhttps://eslint.org/docs/rules/no-else-return
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#控制
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#注释
spaced-commenthttp://eslint.org/docs/rules/spaced-comment
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#空格
indenthttp://eslint.org/docs/rules/indent.html
space-before-blockshttp://eslint.org/docs/rules/space-before-blocks.html
keyword-spacinghttp://eslint.org/docs/rules/keyword-spacing.html
space-infix-opshttp://eslint.org/docs/rules/space-infix-ops.html
eol-lasthttps://github.com/eslint/eslint/blob/master/docs/rules/eol-last.md
newline-per-chained-callhttp://eslint.org/docs/rules/newline-per-chained-call
no-whitespace-before-propertyhttp://eslint.org/docs/rules/no-whitespace-before-property
padded-blockshttp://eslint.org/docs/rules/padded-blocks.html
space-in-parenshttp://eslint.org/docs/rules/space-in-parens.html
array-bracket-spacinghttp://eslint.org/docs/rules/array-bracket-spacing.html
object-curly-spacinghttp://eslint.org/docs/rules/object-curly-spacing.html
comma-spacinghttps://eslint.org/docs/rules/comma-spacing
key-spacinghttps://eslint.org/docs/rules/key-spacing
no-trailing-spaceshttps://eslint.org/docs/rules/no-trailing-spaces
no-multiple-empty-lineshttps://eslint.org/docs/rules/no-multiple-empty-lines
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#逗号
comma-stylehttp://eslint.org/docs/rules/comma-style.html
comma-danglehttp://eslint.org/docs/rules/comma-dangle.html
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#分号
Automatic Semicolon Insertionhttps://tc39.github.io/ecma262/#sec-automatic-semicolon-insertion
更多https://stackoverflow.com/questions/7365172/semicolon-before-self-invoking-function/7365214%237365214
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#类型-1
no-new-wrappershttps://eslint.org/docs/rules/no-new-wrappers
radixhttp://eslint.org/docs/rules/radix
性能原因https://jsperf.com/coercion-vs-casting/3
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#命名约定
id-lengthhttp://eslint.org/docs/rules/id-length
camelcasehttp://eslint.org/docs/rules/camelcase.html
new-caphttp://eslint.org/docs/rules/new-cap.html
no-underscore-danglehttp://eslint.org/docs/rules/no-underscore-dangle.html
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#访问器
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#events
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#小结
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#交流群
https://github.com/passiner/fe-code/blob/master/JavaScriptStyleGuide.md#后记
🍹🍰fe-codehttps://github.com/wuyawei/fe-code
社交聊天系统(vue + node + mongodb)- 💘🍦🙈Vchathttps://github.com/wuyawei/Vchat
https://camo.githubusercontent.com/66af1432a570a882ea57055df6829fb14d9dac909082a1ce2d00d20e92682db0/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031392f372f32312f313663313464316430663362653131653f773d34303026683d34303026663d6a70656726733d3334363436
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.