this.x1 = 'y'; // evalcx is like evaluate and not eval, and so can introduce a global let binding. evalcx("let x1 = 'z';", this); assertEq(x1, 'z');