text: /*let num = [8, 7, 4, 3, 1, 9]
  num.sort()
  for(let pos=0; pos<num.length; pos++){
      console.log(num[pos])
  }*/
  
  let num = [8, 7, 4, 3, 1, 9]
  for(let pos in num){
      console.log(num[pos])
  }
  num.indexOf(1)