I am working on moving the old code to "strict mode", what are the alternatives to the .callee argument and the similar .caller argument, etc. in the ECMA5 standard?
ADDED INFORMATION: I did not indicate why I need the .caller / callee argument.
The code I'm porting uses
assert.ok(elemNode, arguments.callee.name + ": Entity - " + entityId + " has been found");
If it were a simple recursion, I could use the name () {... function () ...} function, but I cannot find what to do with the above code.
source
share