質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,10 @@
|
|
6
6
|
|
7
7
|
var ary = [5,25,10];
|
8
8
|
|
9
|
-
console.log(ary.sort()
|
9
|
+
console.log(ary.sort(function(x,y){
|
10
|
+
|
11
|
+
return x - y;
|
12
|
+
|
13
|
+
}));
|
10
14
|
|
11
15
|
```
|