Complete the missing parts of the arrow function to make it return the square of the given number x.
Defining functions
Square-off!
Report a typo
Fill in the gaps with the relevant elements
let square () {
return x * x;
};Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.