title: $in function of mongo db is not working in nodejs as except :(
body: <p>i want to get all the document from mongo db by the number list provided by the user but 
  the problem i m facing here is this ...
  when i pass the value hardcoded the $in function works fine
  but when i pass the req.body.userlist then it give me an empty array although the values are same</p>
  
  <pre><code>    routes.post(/contect,function(req,res){ 
      var userList = req.body.userList;
      var contectList = ["3423432","23432423","32342"];
      console.log(userList);  //output ["3423432","23432423","32342"]
       User.find({
       "phoneNumber" : {
       "$in":contectList
      }
       }.then(function(data){
       console.log(data);
      })
  </code></pre>
  
  <p>any one help whats wrong here</p>