Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Expression

Expression

An expression is a piece of source code that produces a value at runtime.

Related concepts:  EvaluationValue

Closest Wikipedia entry:  Expression (computer science)

Misconceptions about Expression
51 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
ArrowFunctionNoImpliedReturn
Even when an arrow function consists just of an expression, the return keyword must be explicitly written
Misconception
ArrowFunctionRequiresFunctionKeyword
Arrow functions also require the keyword 'function'
Misconception
ConditionalOperatorNotExpression
The conditional operator is not an expression
Misconception
IdentifierAsStringInBracketNotation
An identifier used to access a property with the bracket notation is treated as a string
Misconception
MandatoryAssignment
An expression must be assigned to have a valid statement
Misconception
NoAtomicExpression
Expressions must consist of more than one piece
Misconception
NoFunctionCallsChaining
It is not allowed to chain function calls

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors