title: Does strict mode in one function have an effect on a function it calls?
body: <p>For example, I have code like this:</p>
  
  <pre><code>function test() {
    // some code
  }
  
  function main() {
    "use strict";
    test();
  }
  </code></pre>
  
  <p>As you can see - in function <code>main</code> I have enabled strict mode. </p>
  
  <p><strong>Question:</strong> does this enable strict mode in function <code>test</code> or I need to define strict mode for each function separately?</p>
  
  <p>Thanks.</p>