mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
23 lines
453 B
JavaScript
23 lines
453 B
JavaScript
const foobar = (argumentOne, argumentTwo, argumentThree) =>
|
|
(...restOfTheArguments) => {
|
|
return "baz";
|
|
};
|
|
|
|
const foobaz = (argumentOne, argumentTwo, argumentThree) =>
|
|
(restOfTheArguments123, j) => {
|
|
return "baz";
|
|
};
|
|
|
|
|
|
const makeSomeFunction =
|
|
(services = {logger:null}) =>
|
|
(a, b, c) =>
|
|
services.logger(a,b,c)
|
|
|
|
const makeSomeFunction2 =
|
|
(services = {
|
|
logger: null
|
|
}) =>
|
|
(a, b, c) =>
|
|
services.logger(a, b, c)
|