MCPcopy
hub / github.com/tdewolff/minify / parseMs

Function parseMs

_benchmarks/sample_moment.js:4883–4885  ·  view source on GitHub ↗
(input, array)

Source from the content-addressed store, hash-verified

4881 }
4882
4883 function parseMs(input, array) {
4884 array[MILLISECOND] = toInt(('0.' + input) * 1000);
4885 }
4886
4887 for (token = 'S'; token.length <= 9; token += 'S') {
4888 addParseToken(token, parseMs);

Callers

nothing calls this directly

Calls 1

toIntFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…