首页
建站资讯
SEO优化
小程序
网站建设
数码科技
软件介绍
系统教程
questions
登录
标签
sortingWhy is 1 sorted before In
sorting - Why is -1 sorted before -Infinity in Javascript? - Stack Overflow
Out of curiosity, what rules apply here exactly?alert([-Infinity, -1, Infinity, 0, 1].sort());Outputs:
sortingWhy is 1 sorted before Infinity in JavascriptStack Overflow
admin
10天前
1
0