We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219b0d0 commit bbfcd94Copy full SHA for bbfcd94
defaultMethods.js
@@ -201,7 +201,7 @@ const defaultMethods = {
201
}
202
const notFound = b === undefined ? null : b
203
if (typeof key === 'undefined' || key === '' || key === null) {
204
- if (engine.allowFunctions || typeof (context && context[key]) !== 'function') {
+ if (engine.allowFunctions || typeof context !== 'function') {
205
return context
206
207
return null
0 commit comments