MV How to test in a script line that a variable is above a value and below another one

I know how to test a simple above/below condition such as:

$gameVariables.value(1) > 10

But how can I test for instance that the value of the variable is above 10 but at the same time below 20?
JavaScript:
if ($gameVariables.value(1) > 10 && $gameVariables.value(1) < 20) {do this;}
This should be what you want. I'm not sure if there's a way to shorten it even further in javascript, but && is what you need.
You're basically telling the engine, that if Variable 1 is > 10 AND < 20) { do what you gotta do }.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-test-in-a-script-line-that-a-variable-is-above-a-value-and-below-another-one.132214/