ECMAScript Language Specification, Version 11
14.1. Function Definitions5 Documented Misconceptions
FunctionOverloading
It is possible to create multiple functions with the same name but with different signaturesFunctionsCannotBeImmediatelyInvoked
Functions cannot be called in the expression in which they are definedFunctionsMustBeNamed
Every function definition requires an associated nameNumberOfParametersMatchArguments
Functions must be called with the same number of arguments as defined in their signatureObjectAsParameterIsCopied
Objects are passed by value