diff --git a/source/Ox/js/Array.js b/source/Ox/js/Array.js index fbd9bef8..8e845c40 100644 --- a/source/Ox/js/Array.js +++ b/source/Ox/js/Array.js @@ -433,7 +433,9 @@ Ox.range = function() { var match; if (Ox.isString(val)) { match = arr_[i].match(/\d+/g); - match && matches.concat(match); + if (match) { + matches = matches.concat(match); + } } }); // get length of longest number