配列をソートする処理を追加しました #1
Loading…
Reference in a new issue
No description provided.
Delete branch "add-sort-func"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
そういうわけだね。
@ -0,0 +1,12 @@
var sortNumber = function (number) {
number.sort(function (a, b) {
if (a == b) {
厳密演算子(===)を使いたまえ。
修正してやったぞ。