How to get function name in strict mode [proper way]
问题 arguments.callee unfortunatelly deprecated, and using it throws an error in "strict mode". Is there any new proper(standard) alternative for getting function name inside actual function? Or will it be in future plans ECMA6, 7? Recent answer is no more than dirty hack and not acceptable for me answer. And arguments.callee.caller.name not working either (nodejs v7.5.0) 回答1: Is there any new proper (standard) alternative for getting function name inside actual function? No, there is not. Or will