title: How to decrease numbers from an array in javascript
body: <p>There are numbers in an array like 54321</p>
  <p><code> array = [&quot;54321&quot;] ;</code></p>
  <p>Now how can I print in console</p>
  <ol>
  <li>54321</li>
  <li>5432</li>
  <li>543</li>
  <li>54</li>
  <li>5</li>
  </ol>
  <p>I don't want to print it manually, I want to print it dynamically..</p>
  <p>Thanks in advance.</p>