with
keyword compatable with es6
The 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
?