1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:20:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/ecma/callback.js
2022-04-14 12:01:23 +08:00

7 lines
115 B
JavaScript
Vendored

const itemById = Array.from(
new Set()
).reduce((byId, item) => {
byId[item.id] = item
return result;
}, {})