It seems like I'm missing something.
For example:
const validNames = ['John'];
const includesFilter = validNames.includes;
// I would expect this call to evaluate to true.
includesFilter('John'); // throws error: "Uncaught TypeError: Cannot convert undefined or null to object"
// Of course, the function can be wrapped.
const includesFilterWrapped = (name) => validNames.includes(name);
// this call evaluates to true
includesFilterWrapped('John');
Also, when applied to a filter:
const names = ['John', 'Mary', 'Sally'];
const validNames = ['John'];
// I would expect this call to evaluate to an array containing only 'John'
names.filter(validNames.includes); // throws error: Uncaught TypeError: Cannot convert undefined or null to object
// This call runs, but it would be slick to use the shorthand if possible. Or at least, I would hope to learn why it won't work here.
names.filter((name) => validNames.includes(name);