149
rated 0 times
[
151]
[
2]
/ answers: 1 / hits: 197934
/ 6 Years ago, mon, april 2, 2018, 12:00:00
I'm creating a unit converter, and I want to put all of the conversion functions into their own file. Using ES6 export
, is there any way to export all of the functions in the file with their default names using only one line? For example:
export default all;
The functions are all just in the file, not within an object.
More From » ecmascript-6