$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #201

What is the output?

console.log([5, 10, 15].includes(10));
  1. 1
  2. false
  3. 10
  4. true
includes returns a boolean, and 10 is in the array.
Play Problem Solving ▸