Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
JavaScript
ecma11
Function Definitions

ECMAScript Language Specification, Version 11
14.1. Function Definitions

Read this Section of the Authoritative Specification

https://www.ecma-international.org/ecma-262/11.0/index.html#sec-function-definitions

5 Documented Misconceptions

Misconception
FunctionOverloading
It is possible to create multiple functions with the same name but with different signatures
Misconception
FunctionsCannotBeImmediatelyInvoked
Functions cannot be called in the expression in which they are defined
Misconception
FunctionsMustBeNamed
Every function definition requires an associated name
Misconception
NumberOfParametersMatchArguments
Functions must be called with the same number of arguments as defined in their signature
Misconception
ObjectAsParameterIsCopied
Objects are passed by value

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors