We read your photo as:

Identify the feature used in the second function.

Computer Science

ScanSolve AI Answer

Answer

Expression Body Syntax\text{Expression Body Syntax}

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 Expression Body Syntax\text{Expression Body Syntax}.

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