Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

exporting a class

'use strict';

class Utility {
   constructor() {
   }
}
const Utility = () => new Utility();
export { Utility };
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #exporting #class
ADD COMMENT
Topic
Name
6+5 =