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