そのとおりだ

This commit is contained in:
Rikuoh Tsujitani 2024-02-23 22:01:55 +09:00
parent c6690b2fe1
commit ac97a66e24
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -1,6 +1,6 @@
var sortNumber = function (number) { var sortNumber = function (number) {
number.sort(function (a, b) { number.sort(function (a, b) {
if (a == b) { if (a === b) {
return 0; return 0;
} }
return a < b ? -1 : 1; return a < b ? -1 : 1;