Sebastian McKenzie 4ea9b9c028 better exec tests
2014-10-15 14:28:51 +11:00

9 lines
105 B
JavaScript

var x = 1;
{
let x;
assert.equal(undefined, x);
x = 2;
assert.equal(2, x);
}
assert.equal(1, x);