Helper function to optimise call expression
babel.dev/docs/en/next/babel-helper-optimise-call-expression
babel/babel