Remove unneeded var assignment.

This commit is contained in:
John-David Dalton
2016-04-23 11:43:15 -07:00
parent 0125ff7303
commit 9fa0ec00b8

View File

@@ -191,8 +191,7 @@ function baseConvert(util, name, func, options) {
}
var pairs = [];
each(keys(source), function(key) {
var value = source[key];
if (isFunction(value)) {
if (isFunction(source[key])) {
pairs.push([key, func.prototype[key]]);
}
});