How would I compare a range in Javascript?
I want to compare a range of numbers against a single number, basically like this in simple terms:

    if X through Y equals Z, then do {}

What would be the proper way to do something like that in Javascript?
How would I compare a range in Javascript?
===

I want to compare a range of numbers against a single number, basically like this in simple terms:

    if X through Y equals Z, then do {}

What would be the proper way to do something like that in Javascript?