Posts by BrunoFrança • 27 points
3 posts
-
1
votes2
answers56
viewsA: how to include javascript files in a javascript file?
To use import and export you have to be using the Babel lib, then use module.Exports module.Exports is a global variable in the JS can put its functions, classes and even variables, to import a…
javascriptanswered BrunoFrança 27 -
2
votes2
answers182
viewsA: Is it necessary to have Node.js installed to run software with Electron?
Certainly not, the role of Electron is to interpret JS + HTML and compile a . exe (binary executable)
-
0
votes2
answers891
viewsA: Assign the return of a function that returns from a Promise
The API method returns a Promise and you’re returning this Promise into the function getUsers(). The function getUsers() should also return a Promise being like this: getUsers(){ return new…