A

Admin • 828.03K Points
Coach

Q. Which method checks if an array contains a certain value?

  • (A) has()
  • (B) contains()
  • (C) includes()
  • (D) exists()
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
includes() checks for presence of an element in an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.