title: filter array within array
body: <p>I have an array of products and i want to filter all those products with the level. The level here is also an array because i have used checkbox so if user selects level 1, a product with level 1 should be shown and if user again selects level 2, a product with level 1 and 2 should be shown. However i am getting all the products instead of the selected level. </p>
  
  <p><strong>Here is my code</strong></p>
  
  <pre><code>// sample product data
  products = [
  {id: "1", sellerLevel: "new", status: "online"},
  {id: "1", sellerLevel: "1", status: "offline"},
  {id: "1", sellerLevel: "1", status: "offline"},
  {id: "1", sellerLevel: "2", status: "online"}
  ]
  
  function productFilterFromLevel({level}) { // level ["new", "1"]
    return products.filter(function(product) {
      return level.filter(function(lvl) {
        return product.sellerLevel === lvl;
      });
    });
  } 
  </code></pre>