I am using arguments.callee.caller.name to get the name of the function where this function is called.
for example:
class B {
  a = 0;
  called_from = false;
  setA = (asume)=>{
    this.a = assume;
    this.called_from = arguments.callee.caller.name;
    console.log(this.called_from);
  };
  callA = ()=>{
    this.setA();
  };
}
Now I want to get the callA name in the logs.