JavaScript sortieren Array kleinste bis größte
var numArray = [140000, 104, 99];
numArray.sort(function(a, b) {
return a - b;
});
console.log(numArray);
Enthusiastic Eel
var numArray = [140000, 104, 99];
numArray.sort(function(a, b) {
return a - b;
});
console.log(numArray);
2
2
3262656566222
2
2546516516516511
4445465465456465454465454
154564544441444
4544654446564656565465465465465465465