how to assign default value for arguments when using the new Function method?
let fileName = "fileone.js", args = [], options = {};
let ls = new Function('fileName', 'args', 'options', 'somefunctionorValue', `....some...code...body...here`)
ls(fileName, args, options)
I want to assign the default value for 'someFunctionOrValue'
when the function I am creating is done: new Function(....)
.