sortAscending.js 209 B

12345678910111213
  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;