Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { duration } = input
- const d = new Date(null)
- const t = d.setSeconds(duration)
- const time = `${d.getHours()}:${d.getMinutes()}`
- output = [{time}];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement