We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d91556 commit 74b868dCopy full SHA for 74b868d
src/raven.js
@@ -642,8 +642,8 @@ function isSetup() {
642
function joinRegExp(patterns) {
643
// Combine an array of regular expressions and strings into one large regexp
644
// Be mad.
645
- var sources = [];
646
- for (var i = 0; i < patterns.length; i++) {
+ var sources = [], len = patterns.length;
+ for (var i = 0; i < len; i++) {
647
if (isString(patterns[i])) {
648
// If it's a string, we need to escape it
649
// Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
0 commit comments