title: .filter is not a function
body: <p>This is my object (made sure it's a typeof object): </p>
  
  <pre><code>{
      "1": {"user_id":1,"test":"","user_name":"potato0","isok":"true"},
  
      "2":{"user_id":2,"test":"","user_name":"potato1","isok":" true"},
  
      "3":{"user_id":3,"test":"","user_name":"potato2","isok":" true"},
  
      "4":{"user_id":4,"test":"","user_name":"potato3","isok":"locationd"}
  
  }
  </code></pre>
  
  <p>Why using <code>.filter</code> doesn't work for me? </p>
  
  <p>Is it because my variable is <code>typeof object</code> and the method works only with arrays? </p>
  
  <pre><code>this.activeUsers = window.users.filter( function(user) {
       // return ( (user.test === '0') &amp;&amp; (user.isok === '0') ); 
       return user.user_id === 1;
  }); 
  </code></pre>
  
  <p>getting the error: </p>
  
  <blockquote>
    <p>.filter is not a function</p>
  </blockquote>
  
  <p>What is the suggested alternative with objects? </p>