Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assignments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</head>

<body>
<h1>JS III - Check your work in the console!</h1>
<h1>JS III - Check your work in the console!!!</h1>
</body>
</html>
7 changes: 7 additions & 0 deletions assignments/this.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@

// code example for Window Binding

// the keyword this returns to global (window) object. This happens because the keyword this is not inside of a declared object, so it defaults to the global (window) object

function test() {
return this;
}
test()

// Principle 2

// code example for Implicit Binding
Expand Down