The most viewed items
const tnwName = ["Hla Hla", "Mya Mya", "Aung Aung", "Maung Maung"];
function tnwFun1(){
document.getElementById("demo").innerHTML = tnwName.join("
");
}
function tnwFun2(){
let result = tnwName.pop();
document.getElementById("demo").innerHTML = "The removed element is : " + result;
}
No comment to show.