text: function linearSearch(arr, val){
      for(var i = 0; i < arr.length; i++){
          if(arr[i] === val) return i;
      }
      return -1;
  }
  
  console.log("Linear Search : " + linearSearch([34,51,1,2,3,45,56,687], 100));