inRange
by hellosze
JavaScript
function inRange(a,x,y){
return (a >= x && a <= y);
}
console.log(inRange(5,1,6));
console.log(inRange(5,10,16));
by hellosze
function inRange(a,x,y){
return (a >= x && a <= y);
}
console.log(inRange(5,1,6));
console.log(inRange(5,10,16));