411 B
411 B
Add parentheses to head of ExpressionStatement instead of the whole statement (#14599 by @fisker)
// Input
const isArray = (object) => ({}).toString.call(foo) === "[object Array]";
// Prettier stable
const isArray = (object) => ({}.toString.call(foo) === "[object Array]");
// Prettier main
const isArray = (object) => ({}).toString.call(foo) === "[object Array]";