Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Testing in unknown unknown
Test
Ops/sec
The One if
var one =prompt('Enter a value') if(one <=10){ alert('one max 10') } if(one >=11&& one <100){ alert('one max 100') } if(one >=100&& one <=1000){ alert('one max 1000') }else{ alert('one max 1000+') }
pending…
The One switch
var one =prompt('Enter a value') if(one <=10){ alert('one max 10') }elseif(one >=11&& one <=100){ alert('one max 100') }elseif(one >100&& one <=1000){ alert('one max 1000') }else{ alert('one max 1000+') }
0 comments