reply
Some and every are also in JS (with the same names even!).
keyBy is just Array.map -> Object.fromEntries