Last active
March 1, 2016 08:55
-
-
Save RafalFilipek/f96e92a3b1f481ea53d0 to your computer and use it in GitHub Desktop.
babel 6.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// input | |
export const foo = (bar = 1) => { | |
console.log(bar) | |
} | |
//output | |
"use strict"; | |
var _arguments = arguments; // ??? | |
exports.__esModule = true; | |
var foo = exports.foo = function foo() { | |
var bar = _arguments.length <= 0 || _arguments[0] === undefined ? 1 : _arguments[0]; | |
console.log(bar); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.babelrc
packages