var box1 = (parseInt(prompt("请输入一个数字")))
   if (box1 > 0) {
        alert('大于0')
     } else if (arr < 0) {
       alert('小于0')
     } else {
     alert('等于0')
     }