diff --git a/src/object.js b/src/object.js index 59835fe34..21604a42b 100644 --- a/src/object.js +++ b/src/object.js @@ -235,7 +235,7 @@ ReflectionObject.prototype.setParsedOption = function setParsedOption(name, valu if (isFeature) { - var features = parsedOptions.find(x => {return Object.prototypehasOwnProperty(x, "features");}); + var features = parsedOptions.find(x => {return Object.prototype.hasOwnProperty(x, "features");}); this._features = features.features || {}; } return this;