Skip to content
Snippets Groups Projects
Commit 4b8b1a4c authored by Stefan Dierauf's avatar Stefan Dierauf
Browse files

moar slides oh lawd

parent 325973aa
No related branches found
No related tags found
No related merge requests found
## Anonymous Callbacks
Don't need to explicitly name a function, instead just write the function as a parameter:
```javascript
// Anonymous inlined callback
helloCaller("Bob Bobberson", function(name) {
// Finnish Hello
console.log("Moi " + name);
});
```
<pre>
Moi Bob Bobberson</pre>
You see this **all the *time*** when dealing with nodejs and javascript in general
\ No newline at end of file
## Event Loop
* What if
\ No newline at end of file
......@@ -6,5 +6,7 @@
"problem-background.md",
"javascript-to-the-rescue.md",
"javascript-ex1.md",
"javascript-ex2.md"
"javascript-ex2.md",
"anaymous-callbacks.md",
"event-loop.md"
]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment