Question: How can you rewrite this function using arrow function syntax?

  1. let product => (x,y) {
    x \* y;
    }
  2. let product = (x,y) => x\*y;
  3. let product => x\*y;
  4. let product = (x,y) -> x\*y;

Answer: The correct answer of the above question is Option B:let product = (x,y) => x\*y;