issues
search
agenda
/
human-interval
Human readable time distances for javascript
Other
459
stars
13
forks
source link
fix: Removed incorrect second parameter in parseFloat function call
#31
Closed
sampathBlam
closed
4 years ago
sampathBlam
commented
4 years ago
parseFloat in javascript does not have a second parameter for specifying radix
src (
https://www.w3schools.com/jsref/jsref_parsefloat.asp
)
only parseInt has second parameter for specifying radix (
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
)
changed order of import in test.js to avoid the error -
import should occur before import of ava import/order
import should occur before import of ava import/order