Q. What will this return?
Code:[1, 2, 3].includes(2);
β
Correct Answer: (A)
true
Explanation: includes() checks if the element is present and returns true or false.