Question: How can you rewrite this function using arrow function syntax?
- let product => (x,y) {
x \* y;
} - let product = (x,y) => x\*y;
- let product => x\*y;
- let product = (x,y) -> x\*y;
Answer: The correct answer of the above question is Option B:let product = (x,y) => x\*y;