Files
babel/packages/babel-plugin-transform-destructuring/test/fixtures/regression/8528/input.js
2018-09-28 11:45:42 -04:00

5 lines
87 B
JavaScript

function isBetween(x, a, b) {
if (a > b) [a, b] = [b, a];
return x > a && x < b;
}