Pola bintang segitiga ke bawah dalam javascript

// Downward Triangle Star Pattern in JavaScript
let numberDown = 5;
let stringDown = ''; 
for (let i=1; i<=numberDown; i++){
  for(let j=i; j<=numberDown; j++){
    stringDown += '*';
  }
  stringDown += '\n';
}
console.log(stringDown);
Chetan Nada