SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to use class, you can do this.
Helper.js
function x(){} function y(){} export default class Helper{ static x(){ x(); } static y(){ y(); } }
App.js
import Helper from 'helper.js'; /****/ Helper.x