ERROR in js/vendors~ui.8f578b013cec78bc290e.js from UglifyJs
In strict mode code, functions can only be declared at top level or immediately within another function. [./node_modules/deepdash/private/getIterate.js:101,8][js/vendors~ui.8f578b013cec78bc290e.js:186542,8]
!options['break'] &&
res !== false &&
!isCircular &&
_.isObject(value)
) {
if (options.childrenPath !== undefined) {
function forChildren(children, cp, scp) { // DECLARING A FUNCTION WITHIN AN EXPRESSION
if (children && _.isObject(children)) {
_.forOwn(children, function(childValue, childKey) {
var childPath = (path || []).concat( (cp || []), [childKey]);
var strChildPath =
options.pathFormat == 'array'
? pathToString([childKey], strPath || '', scp || '')
: undefined;
iterate({
value: childValue,
callback: callback,