Write a Javascript program for Insert Angular, React and Node after Javascript

const techs=['Python','Javascript','C','Java'];
console.log(techs);
for(let i=0;i<techs.length;i++)
{
    if(techs[i]=='Javascript')
    {
        techs.splice(i+1,0,'Angular','React','Node');
        break;
    }
}
console.log(techs);

Leave a Comment

Your email address will not be published. Required fields are marked *