ЗадaчаJavaScript testРешение:function between(a, b) { var foo = []; for (var i = a; i <= b; i++) { foo.push(i); } return foo;}