babel/test/fixtures/traceur/Scope/BlockBinding9.js
2015-01-04 19:40:09 +11:00

16 lines
173 B
JavaScript

// Options: --block-binding
function f() {
return 'outer';
}
{
(function f() {
return 'inner';
});
assert.equal('outer', f());
}
assert.equal('outer', f());