Make variables live inside interface?? | SoloLearn: Learn to code for FREE!

+3

Make variables live inside interface??

I'm trying to modify a variable which is outside the interface method Reference index.js let myVar = ``; let query = Someclass.method( e => { myVar = e.data(); return; }); Console.log(myVar); And if you can't understand my question please ask me

6/2/2020 5:10:10 PM

Subash Rogers

2 Answers

New Answer

+1

Ja Play Sorry Dude, it's in living in my localhost and there is no Playground alone for node and js If you can really help I'll git

0

Can you show your attempt on playground where you have a problem?