MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / parseMs

Function parseMs

tests/test_code/js/moment/moment.js:4853–4855  ·  view source on GitHub ↗
(input, array)

Source from the content-addressed store, hash-verified

4851 }
4852
4853 function parseMs(input, array) {
4854 array[MILLISECOND] = toInt(('0.' + input) * 1000);
4855 }
4856
4857 for (token = 'S'; token.length <= 9; token += 'S') {
4858 addParseToken(token, parseMs);

Callers

nothing calls this directly

Calls 1

toIntFunction · 0.85

Tested by

no test coverage detected