cleanup
This commit is contained in:
parent
5d8dbad5c0
commit
7be5f98ee4
@ -1,21 +0,0 @@
|
|||||||
<!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>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user