2021-07-01 19:32:02 -04:00

22 lines
463 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html>
<head>
    <title>Complete JavaScript Course</title>
</head>
<body>
<script>
const val = "Bye Bye";
const app = function () {
const val = "Hello World";
function init() {
console.log(val);
}
return {
init: init
};
}();
document.addEventListener('DOMContentLoaded', app.init);
</script>
</body>
</html>