Hello, while checking to understand a bug of our project i came across whit the following error:
err: ReferenceError: arr is not defined
at cloneObj (..../node_modules/sql-bricks/sql-bricks.js:28:24)
at In.clone (.../node_modules/sql-bricks/sql-bricks.js:921:71)
...
}
}
so i came to understand that the clone() function may have a problem :
function cloneObj(obj) {
if (types.isArray(obj))
return [].concat(arr);
else
return extend({}, obj);
See, the arr variable is not defined. If arr is replaced by variable obj. The code works.
Could you check this issue. I am still a novice developer. So Excuse me if the problem does not lies in the function but on bad use by me
Hello, while checking to understand a bug of our project i came across whit the following error:
... } }
so i came to understand that the clone() function may have a problem :
See, the arr variable is not defined. If arr is replaced by variable obj. The code works.
Could you check this issue. I am still a novice developer. So Excuse me if the problem does not lies in the function but on bad use by me