Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Y2Lin
/
code-collect
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
3
Code
Issues
0
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
46 Commits
46 Commits
Folders and files
Name
Name
Last commit message
Last commit date
baseline相关问题
baseline相关问题
border问题
border问题
checkbox的三种状态
checkbox的三种状态
for_in循环
for_in循环
lazyMan
lazyMan
promise
promise
scroll相关
scroll相关
svg实现loading
svg实现loading
三栏布局
三栏布局
事件绑定与解绑
事件绑定与解绑
二维数组拼接
二维数组拼接
千分位加逗号
千分位加逗号
坐标轴最大值
坐标轴最大值
大数相加
大数相加
子集问题---todo
子集问题---todo
实现bind
实现bind
尾递归调用
尾递归调用
快速排序
快速排序
手机端布局
手机端布局
找出数组最大值
找出数组最大值
数组去重
数组去重
数组扁平化
数组扁平化
数组相关算法
数组相关算法
文字一行居中多行居左
文字一行居中多行居左
文本两端对齐
文本两端对齐
正方形
正方形
水平垂直居中
水平垂直居中
深拷贝
深拷贝
继承todo
继承todo
获取页面所有tagName
获取页面所有tagName
覆盖iframe内方法
覆盖iframe内方法
计算文字宽度
计算文字宽度
跨页通讯
跨页通讯
返回当前所在的函数的函数名
返回当前所在的函数的函数名
递归记忆
递归记忆
限次数的定时器
限次数的定时器
限流&防抖
限流&防抖
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
package.json
package.json
View all files
Repository files navigation
README
MIT license
More
items
code-collect
代码片段收藏
About
代码片段收藏
Resources
Readme
MIT license
Activity
Stars
3
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.