packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/default-parameters/output.js
raw| 1 | var some = function () { |
| 2 | let count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "30"; |
| 3 | console.log("count", count); |
| 4 | }; |
| 5 | var collect = function () { |
| 6 | let since = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; |
| 7 | let userid = arguments.length > 1 ? arguments[1] : undefined; |
| 8 | console.log(userid); |
| 9 | }; |