We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I'm having a new issue with node v6.3.1 and hapi v14.1.0.
A handler function with request.query.hasOwnProperty('whatever') will result in a "request.query.hasOwnProperty is not a function" error.
request.query.hasOwnProperty('whatever')
Changing to Object.prototype.hasOwnProperty.call(request.query, 'whatever') works.
Object.prototype.hasOwnProperty.call(request.query, 'whatever')
typeof request is 'object', so I'm not sure why this method is missing or why calling it from Object works.
typeof request