Skip to content

Commit

Permalink
finalizace
Browse files Browse the repository at this point in the history
  • Loading branch information
ondras committed Feb 19, 2025
1 parent bec4b69 commit b18da7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions KAJ/prednasky/01/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ https://html.spec.whatwg.org/
- [Mozilla Developer Network](https://developer.mozilla.org/)
- Dokumentace
- Ukázky
- [Feature detection](http://diveintohtml5.info/detect.html)
- [Feature detection](https://mislav.github.io/diveintohtml5/detect.html)

---

Expand Down Expand Up @@ -490,11 +490,11 @@ Předpoklad: kód členíme do více malých souborů
# IIFE
```js
(function(){
let document = "test"; // lokalni promenna
alert(document); // "test"
let document = "test" // lokalni promenna
alert(document) // "test"
})();

alert(document); // [object HTMLDocument]
alert(document) // [object HTMLDocument]
```

---
Expand Down

0 comments on commit b18da7a

Please sign in to comment.