Debian Codegraph @

packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec/output.js

raw
1 function foo() {
2 var _this = this;
3 arr.map(function (x) {
4 babelHelpers.newArrowCheck(this, _this);
5 return x * x;
6 }.bind(this));
7 var f = function f(x, y) {
8 babelHelpers.newArrowCheck(this, _this);
9 return x * y;
10 }.bind(this);
11 (function () {
12 var _this2 = this;
13 return function () {
14 babelHelpers.newArrowCheck(this, _this2);
15 return this;
16 }.bind(this);
17 })();
18 return {
19 g: function g() {
20 babelHelpers.newArrowCheck(this, _this);
21 return this;
22 }.bind(this)
23 };
24 }