Daniel Tschinder b3372a572d Remove whitespace generation (#5833)
* Remove whitespace generation and rely on default printing

Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines

* Fix a few more fixtures
2017-06-27 21:57:02 -05:00

29 lines
535 B
JavaScript

function foo() {
var _this = this;
arr.map(function (x) {
babelHelpers.newArrowCheck(this, _this);
return x * x;
}.bind(this));
var f = function f(x, y) {
babelHelpers.newArrowCheck(this, _this);
return x * y;
}.bind(this);
(function () {
var _this2 = this;
return function () {
babelHelpers.newArrowCheck(this, _this2);
return this;
}.bind(this);
})();
return {
g: function g() {
babelHelpers.newArrowCheck(this, _this);
return this;
}.bind(this)
};
}