* 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
10 lines
315 B
JavaScript
10 lines
315 B
JavaScript
var some = function () {
|
|
let count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "30";
|
|
console.log("count", count);
|
|
};
|
|
|
|
var collect = function () {
|
|
let since = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
let userid = arguments[1];
|
|
console.log(userid);
|
|
}; |