prettier/tests/binary-expressions/arrow.js

14 lines
377 B
JavaScript
Raw Normal View History

function f() {
2019-07-30 12:48:14 +03:00
const appEntities = getAppEntities(loadObject).filter(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
)
}
function f() {
2019-07-30 12:48:14 +03:00
const appEntities = getAppEntities(loadObject).map(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
id: entity.id
}
)
}