Which programming language is this?
const nums = arr.filter(n => n > 0).map(n => n * 2);
Answer: JavaScript
Chained filter/map with untyped arrow functions is JavaScript.
Play Programming Languages ▸
const nums = arr.filter(n => n > 0).map(n => n * 2);
Answer: JavaScript