2017-02-15 20:00:02 -08:00
|
|
|
function f() {
|
2019-07-30 17:48:14 +08:00
|
|
|
const appEntities = getAppEntities(loadObject).filter(
|
2017-02-15 20:00:02 -08:00
|
|
|
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
|
|
|
|
|
)
|
|
|
|
|
}
|
2017-09-07 15:28:12 -03:00
|
|
|
|
2020-08-22 01:00:14 +08:00
|
|
|
function f2() {
|
2019-07-30 17:48:14 +08:00
|
|
|
const appEntities = getAppEntities(loadObject).map(
|
2017-09-07 15:28:12 -03:00
|
|
|
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
|
|
|
|
|
id: entity.id
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
2020-04-08 23:49:46 +09:00
|
|
|
|
|
|
|
|
((x) => x) + '';
|
|
|
|
|
'' + ((x) => x);
|