blob: 8a3322f4203fd1bc4040e938a6822073aa064a37 [file] [log] [blame]
>>>
test() {
var fooService,
ids,
objectName,
results;
var futures = ids
.map((id) => fooService
.getItem(objectName, id)
.then((item) => results.add(item.name.value)))
.toList();
}
<<<
### TODO(1466): Should allow "ids" after the "=".
test() {
var fooService, ids, objectName, results;
var futures =
ids
.map(
(id) => fooService
.getItem(objectName, id)
.then((item) => results.add(item.name.value)),
)
.toList();
}