Posts by Lucas Neves • 19 points
3 posts
-
0
votes2
answers82
viewsA: Store a variable to use outside of Function
function myFunction () { function exp(){ endereco = true return endereco } exp() return endereco } if you make a function that returns only this variable and then call, it is in global scope , so…
javascriptanswered Lucas Neves 19 -
0
votes2
answers191
viewsQ: problems with __dirname in Electron js
i am taking a course that uses Electron 5.0.13, and is giving that error in the terminal of my application in Electron Uncaught ReferenceError: __dirname is not defined at eval (index.js?bdb9:4) at…
-
0
votes1
answer301
viewsQ: I’m having problems in my angular angle , when I go from an npm start to that message
This likely Means that the library (@angular/material/snack-bar) which declares Matsnackbar has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version…