const xs = [1, 2, 3, 4, 5]; const results = xs.filter(x => x % 2 === 0).map(x => 10 * x); print(results);
Standard input is empty
20,40
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!