Padrão de estrela do triângulo descendente em 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