fork(1) download
  1. // your code goes here
  2.  
  3.  
  4.  
  5. let resultString = ""; // एक खाली स्ट्रिंग बनाएं
  6.  
  7. for (let i = 0; i < Math.floor(Math.sqrt(5)); i++) { // बाहरी लूप
  8. for (let j = 0; j < 5-i; j++) { // आंतरिक लूप
  9. resultString += "*"; // स्ट्रिंग में वैल्यूज जोड़ें
  10. }
  11. console.log()
  12. }
  13.  
  14. console.log(resultString); //
Success #stdin #stdout 0.03s 16888KB
stdin
Standard input is empty
stdout

*********