javascript seconds to min and seconds

Solutions on MaxInterview for javascript seconds to min and seconds by the best coders in the world

showing results for - "javascript seconds to min and seconds"
Mohammed
31 Sep 2017
1function convert(value) {
2    return Math.floor(value / 60) + ":" + (value % 60 ? value % 60 : '00')
3}
4