async walkThis(node, context) { if ({}.hasOwnProperty.call(context, 'this')) { // eslint-disable-next-line return context["this"]; } return this.failResult; }
walkSetIdentifier(node, context, value) { const newContext = context; if ({}.hasOwnProperty.call(context, node.name)) { context[node.name] = value; } else if ( context.input && {}.hasOwnProperty.call(context.input, node.name) ) { context.input[node.name] = value; } else { newContext[node.name] = value; } return value; }
if ({}.hasOwnProperty.call(list, item)) { fn(item);
walkIdentifier(node, context) { if ({}.hasOwnProperty.call(context, node.name)) { return context[node.name]; } return this.failResult; }
async walkIdentifier(node, context) { if ({}.hasOwnProperty.call(context, node.name)) { return context[node.name]; } if (context.input && {}.hasOwnProperty.call(context.input, node.name)) { return context.input[node.name]; } if (context.globalFuncs && context.globalFuncs[node.name]) { const result = context.globalFuncs[node.name]; node.name = `globalFuncs.${node.name}`; return result; } if (context.this && context.this.container) { const item = context.this.container.get(node.name); if (item) { return item; } } return this.failResult; }
function has(key) { return Promise.resolve({}.hasOwnProperty.call(data, key)); }
require.ensure([], (require) => { const component = {}; const key = dependency.match(/([\w]+)$/)[0]; const ctx = require.context('reducers', true, /index\.js$/); const file = ctx(`./${dependency}/index.js`); component[key] = {}.hasOwnProperty.call(file, 'default') ? file.default : file; resolve(component); });
errors.forEach(function (err) { if ({}.hasOwnProperty.call(err, 'line') && err.line === undefined) { delete err.line; } });
namespace(namespace) { if ({}.hasOwnProperty.call(this.namespaceHandler, namespace)) { return this.namespaceHandler[namespace]; } this.namespaceHandler[namespace] = new RedisNamespaceStore(this.prefix, namespace, this.redis); return this.namespaceHandler[namespace]; }
(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){ var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules\\core-js\\library\\modules\\_has.js","/node_modules\\core-js\\library\\modules")
function getPropertyDescriptor(obj, name) { while (obj) { if (({}).hasOwnProperty.call(obj, name)) return Object.getOwnPropertyDescriptor(obj, name); obj = Object.getPrototypeOf(obj); } }
walkThis(node, context) { if ({}.hasOwnProperty.call(context, 'this')) { // eslint-disable-next-line return context["this"]; } return this.failResult; }
function has(key) { return Promise.resolve({}.hasOwnProperty.call(data, key)); }
errors.forEach(function(err) { if ({}.hasOwnProperty.call(err, 'line') && err.line === undefined) { delete err.line; } });
errors.forEach(function(err) { if ({}.hasOwnProperty.call(err, 'line') && err.line === undefined) { delete err.line; } });