Merge branch 'master' of github.com:babel/babel

This commit is contained in:
Sebastian McKenzie
2015-03-31 23:47:55 +11:00
6 changed files with 34 additions and 5 deletions

View File

@@ -5,9 +5,9 @@ function fact(_x2) {
var _again = true;
_function: while (_again) {
acc = undefined;
_again = false;
var n = _x2;
acc = undefined;
var acc = _arguments[1] === undefined ? 1 : _arguments[1];
if (n > 1) {
_arguments = [_x2 = n - 1, acc * n];

View File

@@ -5,11 +5,12 @@
var _again = true;
_function: while (_again) {
m = local1 = local2 = local3 = undefined;
var g = function g() {};
_again = false;
var n = _x2;
m = local1 = local2 = local3 = undefined;
var m = _arguments[1] === undefined ? getDefaultValue() : _arguments[1];
// `m` should be `getDefaultValue()` after first pass