We have defined an arrow function:
let multiply = (m, n) => m * n;
We will try to write it in a slightly modified form, but without changing what it is supposed to do. Point out the correct definition:
-
let multiply = (m, n) => { m * n; }
-
let multiply = (m, n) => { console.log(m * n); }
-
let multiply = (m, n) => return (m * n);
-
{ return (m * n); }
More Questions: JavaScript Essentials 1 – JSE1: Module 5 Test
Please login or Register to submit your answer