Cleanup: unused vars, dangling commas, negation

This commit is contained in:
Elliot Nelson
2019-05-18 08:11:47 -04:00
parent 1e855aa9b8
commit b1da6e3960
9 changed files with 10 additions and 32 deletions

View File

@@ -225,7 +225,6 @@ getJasmineRequireObj().matchersUtil = function(j$) {
});
for (i = 0; i < aLength || i < bLength; i++) {
var formatter = false;
diffBuilder.withPath(i, function() {
if (i >= bLength) {
diffBuilder.record(a[i], void 0, actualArrayIsLongerFormatter);
@@ -417,10 +416,6 @@ getJasmineRequireObj().matchersUtil = function(j$) {
return extraKeys;
}
function has(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}
function isFunction(obj) {
return typeof obj === 'function';
}