用JS写求素数

用JS写求素数

    var a=nn为输入所测的数值    var b=1这里不懂,下面关于b是做什么的都不明白    if(a==0||a==1){        document.write("0或1不是素数")    
JavaScript120