Use ES6 module import/export syntax.
Sample Input:
const utils = {add: (a,b) => a+b, subtract: (a,b) => a-b}Sample Output:
export const add = (a,b) => a+b; export const subtract = (a,b) => a-b
Hints
Hint 1
Use export keyword for named exports
Hint 2
Export each function separately
Hint 3
Use import in other files: import {add, subtract} from "./utils"