Files
babel/test/fixtures/traceur/ArrowFunctions/AlphaRename.js
Sebastian McKenzie 6a35bdb42b add traceur test suite
2015-01-04 19:40:09 +11:00

23 lines
281 B
JavaScript

var global = this;
var self = {};
function outer() {
var f = () => {
assert.equal(this, self);
var g = () => {
assert.equal(this, self);
};
g();
var h = function() {
assert.equal(this, global);
};
h();
};
f();
}
outer.call(self);