2 lines
94 B
JavaScript
2 lines
94 B
JavaScript
var seattlers = [for (c of customers) if (c.city == "Seattle") { name: c.name, age: c.age }];
|