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


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 =; 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


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


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