Skip to content

Commit 79861ea

Browse files
authored
Fixed some minor typos
1 parent fabce23 commit 79861ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

node_101.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Perhaps best of all, Node.js allows the intrepid hacker to create full stack, we
3434

3535
# Events
3636

37-
EVENTS are an important concept for the javascript and Node.js programmer, as well as designers of interfaces, or systems with sesnors.
37+
EVENTS are an important concept for the javascript and Node.js programmer, as well as designers of interfaces, or systems with sensors.
3838

3939
What is an event? Unlike some programming concepts, an event here is exactly what you should expect.
4040

@@ -82,7 +82,7 @@ The second is a CALLBACK.
8282

8383
A CALLBACK is simply a function--no different than any other function--which is called upon an event.
8484

85-
Most confusion about javascript callbacks stems from confusion and lazioness about javascipt functional syntax.
85+
Most confusion about javascript callbacks stems from confusion and laziness about javascipt functional syntax.
8686

8787
Consider the following:
8888

@@ -91,7 +91,7 @@ event.on('update', function(data){
9191
console.log(data)
9292
})
9393
```
94-
To the uninitiated, this may look like a pinata of inscruotable syntax.
94+
To the uninitiated, this may look like a pinata of inscrutable syntax.
9595

9696
One reason is because that code has nested syntax, which is totally legal.
9797

@@ -109,7 +109,7 @@ var callback_Function = function(data){
109109
event.on('update', callback_Function)
110110
```
111111

112-
Here, you can see that the callback is a basic function, and event.on is a function being called with two arguments, one of them the function referenced aboove.
112+
Here, you can see that the callback is a basic function, and event.on is a function being called with two arguments, one of them the function referenced above.
113113

114114
When an 'update' event happens, call the supplied function.
115115

0 commit comments

Comments
 (0)