You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, foo() is not seen in global scope (index.html that uses x-element). Good!
But bar() is from app.js. Not x-element.html contains <script='app.js'></script>.
app.js:
function bar() {}
x-element.html:
<script='app.js'></script>
...
<script>
function foo() { }
</script>
The text was updated successfully, but these errors were encountered:
Currently, foo() is not seen in global scope (index.html that uses x-element). Good!
But bar() is from app.js. Not x-element.html contains <script='app.js'></script>.
app.js:
function bar() {}
x-element.html:
<script> function foo() { } </script><script='app.js'></script>
...
The text was updated successfully, but these errors were encountered: