title: Make a function that returns twenty two
body: <p><a href="https://i.stack.imgur.com/zKfzr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zKfzr.png" alt="enter image description here" /></a>I am trying to Write a function that a given array consisting of N integers, return the minimum among all integers which are multiples of 11.</p>
  <pre><code>let arr = [-6, -91, 1011, -100, 84, -22, 0, 1, 473]
  
  
  function solution(A) {
      
     let mult = A.filter(x =&gt; x % 11 == 0 &amp;&amp; x / 11 &gt;=0 &amp;&amp; x / 11 &lt; 1000).map(x =&gt; x / 11)
     return mult
      
  }    
  solution(arr) 
  </code></pre>