Please login to start chat

ICT Solutions 12 Jun 2022, 15:42:46
Category : JavaScript Tutorials

includes (JavaScript Array Method)

const tnwNames = ["Hla Hla", "Mya Mya", "Soe Soe", "Moe Moe"];

function tnwFun1(){
document.getElementById("demo").innerHTML = tnwNames.join("
");
}

function tnwFun2(){
document.getElementById("demo").innerHTML = tnwNames.includes("Mya Mya");
}

Comments:

No comment to show.

Available Services
Download Android Application