ce90dcc62c22ef65cbc6b3d5bd816575e6d2a81b252676aee7056faa47750ba2d43d48c66d58c00e079fada984db5f430ad8a9234ce9e83913e52243db58d2 186 B

12345678910111213
  1. 'use strict';
  2. function tryParseInt(input) {
  3. const output = parseInt(input, 10);
  4. if (Number.isNaN(output)) {
  5. return null;
  6. }
  7. return output;
  8. }
  9. module.exports = tryParseInt;