JavaScript Getting Started With ES2015 Create Functions Using Arrow Syntax Concise Arrow Function Syntax

Tibor Ruzinyi
Tibor Ruzinyi
14,265 Points

square(x)

Hello, what does square(x) mean in this video ? square + x , square - x ....

1 Answer

Hi Tibor,

It looks like square(x) returns x*x , i.e., "x squared", square(3) = 9