Computer scienceSystem administration and DevOpsCommand lineText processing

Sorting and transforming JSON with jq

Math is fun

Report a typo

What is the resulting number generated by executing the following command?

echo '[-2, 10, 5, -4, 3, 6]' | jq 'map(select(. % 2 == 0) | . * .) | add'
Enter a number
___

Create a free account to access the full topic