JS Array Includes

 
<!DOCTYPE html>
<html>
<head>
  <title>JavaScript</title>
  <script>
    var a = ["Sanjay", "Aman", "Rehman", "Rahul"];
    document.write(a + "<br><br>");

    var b = a.includes("Neha");
    document.write(b + "<br><br>");

    var c = a.includes("Aman");
    document.write(c + "<br><br>");

    var d = a.includes("aman");
    document.write(d + "<br><br>");
  </script>
</head>
<body>

</body>
</html>