We read your photo as:
Identify the feature used in the second function.
Computer Science
ScanSolve AI Answer
Answer
The feature used in the second function is Expression Body Syntax. This allows for a more concise function declaration when the function consists of a single expression, by using an equals sign (=) instead of curly braces and an explicit return keyword.
- Expression Body Syntax: This is the correct technical term for defining a function's body as a single expression using the
=operator.
The final answer is .
Was this helpful?
Try one yourself
A new problem that tests the same skill.
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
Got a different question?Ask your own question