title: How do you find out the caller function in JavaScript when use strict is enabled?
body: <p>Is it possible to see the callee/caller of a function when <code>use strict</code> is enabled?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>'use strict';
  
  function jamie (){
      console.info(arguments.callee.caller.name);
      //this will output the below error
      //uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
  };
  
  function jiminyCricket (){
     jamie();
  }
  
  jiminyCricket ();</code></pre>
  </div>
  </div>
  </p>