Skip to content

Commit 556840e

Browse files
committed
docs: fix syntax error in examples
1 parent 906880e commit 556840e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function haltOnTimedout(req, res, next){
115115
function savePost(post, cb){
116116
setTimeout(function(){
117117
cb(null, ((Math.random()* 40000) >>> 0));
118-
}, (Math.random()* 7000) >>> 0));
118+
}, (Math.random()* 7000) >>> 0);
119119
}
120120

121121
app.listen(3000);
@@ -144,7 +144,7 @@ function haltOnTimedout(req, res, next){
144144
function savePost(post, cb){
145145
setTimeout(function(){
146146
cb(null, ((Math.random()* 40000) >>> 0));
147-
}, (Math.random()* 7000) >>> 0));
147+
}, (Math.random()* 7000) >>> 0);
148148
}
149149

150150
app.listen(3000);

0 commit comments

Comments
 (0)