EvanHahn / HumanizeDuration.js

361000 becomes "6 minutes, 1 second"
https://evanhahn.github.io/HumanizeDuration.js/
The Unlicense
1.65k stars 175 forks source link

Give humanizeDuration function a name #6

Closed EvanHahn closed 10 years ago

EvanHahn commented 10 years ago

Change

var humanizeDuration = function(ms, language) {

to

function humanizeDuration(ms, language) {