var rangeArray= new Array();
rangeArray.push(parseRangeString(1, "< -4 & < 10"));
rangeArray.push(parseRangeString(2, "< 15 & < 19"));
rangeArray.push(parseRangeString(3, "<= 50 & <= 123"));
rangeArray.push(parseRangeString(4, "< -99 & < -23"));
rangeArray.push(parseRangeString(5, "< 7 & < 55"));
alert(rangeArray)
var orderedArray = orderRanges(rangeArray);
alert (orderedArray)
它与上面的代码有关,但看不到它,你能帮我吗