Ad
  • Custom User Avatar

    your variable definition is out of function,

    you shoud do like this
    function findOutlier(integers){
    var odd = [];
    var even = [];
    //other code
    }