title: join array elements with specified element to be placed at the end
body: <p>I have an array</p>
  <pre><code>input = [&quot;Hi&quot;,&quot;Bye&quot;,&quot;Hello&quot;,&quot;Jose&quot;,&quot;Juan&quot;,null,&quot;How&quot;,&quot;&quot;,&quot;Disco&quot;]
  </code></pre>
  <p>I want to always place the word &quot;Bye&quot; to the end of the joined string</p>
  <p>I have tried with</p>
  <pre><code>input.filter(Boolean).join(&quot;@&quot;))
  </code></pre>
  <p>expected output</p>
  <pre><code>&quot;Hi@Hello@Jose@Juan@How@Disco@Bye&quot;
  </code></pre>
  <p>I am looking for the best efficient way, or if there is a way to add a filter function along with Boolean filter</p>