nvim-treesitter/tests/indent/ecma/func.js
2022-01-21 16:40:36 +01:00

37 lines
334 B
JavaScript

const arrow_func = (
a,
b,
c
) => {
log(a, b, c)
}
const arrow_func_without_brace = (a, b, c) =>
log(
a,
b,
c
)
function func_def(
a,
b,
{ c = '' }
) {
log(a, b, c)
}
func_call(
a,
(b) => b
)
chained_func_call()
.map()
.filter()
func_call(
chained_func_call()
.map()
.filter()
)