title: Javascript function for finding multiples of a number
body: <p>Create a function called mulitples0f
  It will accept two arguments, the first will be an array of numbers, the second will be a number. The function should return a new array that is made up of every number from the argument array that is a multiple of the argument number. So multiplesOf([5,6,7,8,9,10],3) will return [6,9]</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function multiplesOf(numbers) {
    var multiples = numbers[0];
  
    for (var i = 0; i &lt; numbers.length; i++) {
      if (numbers[i] % multiples === 0) {
        multiples = numbers[i];
      }
    }
  
    return multiples;
  }
  
  console.log(multiplesOf([4, 5, 6, 7, 8], 2));</code></pre>
  </div>
  </div>
  </p>
  
  <p>says function is defined in jsbin help please</p>