module.exports = time => { | |
const s = Math.floor(time / 1000); | |
const ms = time % 1000; | |
return [s, ms * 1e6]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
module.exports = time => { | |
const s = Math.floor(time / 1000); | |
const ms = time % 1000; | |
return [s, ms * 1e6]; | |
} |