title: Remove empty elements from an array in Javascript
body: <p>How do I remove empty elements from an array in JavaScript? </p>
  
  <p>Is there a straightforward way, or do I need to loop through it and remove them manually?</p>