Assign pair[0] to a variable.

This commit is contained in:
John-David Dalton
2016-06-14 23:13:11 -07:00
parent 9f6d6d7b37
commit 3f1ae77306

View File

@@ -6179,8 +6179,9 @@
function updateWrapDetails(details, bitmask) {
arrayEach(wrapFlags, function(pair) {
if ((bitmask & pair[1]) && !arrayIncludes(details, '_.'+ pair[0])) {
details.push('_.' + pair[0]);
var value = '_.' + pair[0];
if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {
details.push(value);
}
});
return details.sort();