You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
209 B

2 years ago
  1. "use strict";
  2. exports.__esModule = true;
  3. exports["default"] = sortAscending;
  4. function sortAscending(list) {
  5. return list.sort(function (a, b) {
  6. return a - b;
  7. });
  8. }
  9. ;
  10. module.exports = exports.default;