1.0.0 • Published 3 years ago
es6-with v1.0.0
The with
keyword compatable with es6
import wth from "./withes6.js"
const randomNumber = (min, max) => return wth(Math, (floor, random) => {
return floor(random() * (max - min)) + min
})
A workaround to the with
keyword.
Why shouldn't I use with
?
1.0.0
3 years ago