global.a = 20; var a = 10; { let a = {}; eval('a.member = 5'); } Eval will add a property to object a in the same block? Or global? The main question is that if several asynchronous functions call such an eval, will they not work with the same global variable?
global.a = 20; var a = 10;is this node.js? - Qwertiy ♦