任何人都可以帮我破译这个功能吗?

时间:2011-03-22 00:58:33

标签: javascript dojo

我们目前正在开发一个小项目,我们正在更新并向现有软件添加一些功能,我们遇到了这个功能,我们对它的作用一无所知。 < / p>

function myRange(a){var b=false;b=MinMax(a,83300000,83399999,b);b=MinMax(a,83500000,83599999,b);b=MinMax(a,83600000,83699999,b);b=MinMax(a,84000000,84099999,b);b=MinMax(a,84100000,84189999,b);b=MinMax(a,84190000,84199999,b);b=MinMax(a,84200000,84249999,b);b=MinMax(a,84250000,84499999,b);b=MinMax(a,84900000,84983599,b);b=MinMax(a,84983600,84999999,b);b=MinMax(a,86000000,86699999,b);b=MinMax(a,86900000,86999999,b);b=MinMax(a,87400000,87409999,b);b=MinMax(a,88200000,88599999,b);b=MinMax(a,89000000,89499999,b);b=MinMax(a,87300000,87399999,b);b=MinMax(a,22634000,22634999,b);b=MinMax(a,22635000,22635999,b);b=MinMax(a,23139000,23139999,b);b=MinMax(a,23449000,23449999,b);b=MinMax(a,27197000,27197999,b);b=MinMax(a,27226000,27226999,b);b=MinMax(a,27379000,27379999,b);b=MinMax(a,27845000,27845999,b);b=MinMax(a,87200000,87299999,b);b=MinMax(a,87437000,87437999,b);if(b==false){dojo.byId("destino").value="";dojo.byId("destino").focus()}}function MinMax(c,a,d,b){if((c<=d)&&(c>=a)){b=true;return b}else{return b}};

1 个答案:

答案 0 :(得分:1)

myRange函数测试其参数a是否位于83300000..83399999,83500000,83599999等范围内;在所有MinMax次调用之后,b如果a在其中一个范围内,则为{{1}},否则为false。