Add null check for _has

This commit is contained in:
epayet
2017-03-14 16:45:13 +00:00
parent 66a3731e7e
commit 5aa137f518

View File

@@ -145,6 +145,7 @@ module.exports = function (original, length, options) {
var id, args = arguments;
if (resolve) args = resolve(args);
id = get(args);
if (id === null) return false;
return conf.has(id);
});
defineProperties(memoized, {