exporting a class code example
Example: exporting a class
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };