for(let i = 1; arr.length <100; i++)
  if(i % n1 == 0 && i % n2 ===0)
  { 
    arr.push(str1 +str2)
  }
  {
      arr.push(str1); 
  }
else if(i % n2 == 0)
   {
      arr.push(str2);
   }
else {
    arr.push(i)
   }
 }
What will be the output of the following code ?
 

Posted on by