mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix: arrow-fn transformation when 'arguments' is defined as var * fix: tests * refactor: code * Review by @nicolo-ribaudo Co-authored-by: Nicolò Ribaudo <[email protected]>
10 lines
127 B
JavaScript
10 lines
127 B
JavaScript
function fn() {
|
|
var foo = () => {
|
|
return arguments;
|
|
};
|
|
}
|
|
|
|
var bar = () => arguments;
|
|
|
|
var baz = () => () => arguments;
|