Please login to start chat

ICT Solutions 11 Jun 2022, 09:51:51
Category : JavaScript Tutorials

copyWithin (JavaScript Array Method)

const people = ["Hla", "Mya", "Aung", "Maung", "Soe", "Noe", "Moe"];

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

function tnwFun2(){
const result = people.copyWithin(3, 0, 3);
document.getElementById("demo").innerHTML = result.join("
");
}

Comments:

No comment to show.

Available Services
Download Android Application