SyntaxFix
Write A Post
Hire A Developer
Questions
function formatSeconds(s: number) { let minutes = ~~(s / 60); let seconds = ~~(s % 60); return minutes + ':' + seconds; }