Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
~i ? Array[i] : Array[Stack.push(that) - 1] = {}
this.method(that)
.that = that
return this.method(that)
},
method: function (that) {
return Array[Stack.indexOf(that)]
}
}
}
return Relator()
}())
}
// END REDUNDANT
if (p && p.ini && p.ini['locutus.return_locutus_arrays'].local_value.toLowerCase() === 'on') {
if (!p.LOCUTUS_Array) {
// We keep this Relator outside the class in case adding prototype methods below
// Prototype methods added elsewhere can also use this ArrayRelator to share these "pseudo-global mostly-private" variables
__ = p.ArrayRelator = p.ArrayRelator || p.Relator.$()
// We could instead allow arguments of {key:XX, value:YY} but even more cumbersome to write
p.LOCUTUS_Array = function LOCUTUS_Array () {
var _ = __.constructor(this),
args = arguments,
i = 0,
argl, p
args = (args.length === 1 && args[0] && typeof args[0] === 'object' &&
// If first and only arg is an array, use that (Don't depend on this)
args[0].length && !args[0].propertyIsEnumerable('length')) ? args[0] : args
if (!_.objectChain) {
_.objectChain = args
_.object = {}
~i ? Array[i] : Array[Stack.push(that) - 1] = {}
this.method(that)
.that = that
return this.method(that)
},
method: function (that) {
return Array[Stack.indexOf(that)]
}
}
}
return Relator()
}())
}
// END REDUNDANT
if (p && p.ini && p.ini['locutus.return_locutus_arrays'].local_value.toLowerCase() === 'on') {
if (!p.LOCUTUS_Array) {
// We keep this Relator outside the class in case adding prototype methods below
// Prototype methods added elsewhere can also use this ArrayRelator to share these "pseudo-global mostly-private" variables
__ = p.ArrayRelator = p.ArrayRelator || p.Relator.$()
// We could instead allow arguments of {key:XX, value:YY} but even more cumbersome to write
p.LOCUTUS_Array = function LOCUTUS_Array () {
var _ = __.constructor(this),
args = arguments,
i = 0,
argl, p
args = (args.length === 1 && args[0] && typeof args[0] === 'object' &&
// If first and only arg is an array, use that (Don't depend on this)
args[0].length && !args[0].propertyIsEnumerable('length')) ? args[0] : args
if (!_.objectChain) {
_.objectChain = args
_.object = {}