diff --git a/README.md b/README.md index 62caa80..ea4ba20 100644 --- a/README.md +++ b/README.md @@ -501,12 +501,12 @@ Heavily inspired by them as well: }); //good - database.get('drabonballs', function(err, drabonballs) { + database.get('dragonballs', function(err, dragonballs) { if (err) { // handle the error somehow, maybe return with a callback return console.log(err); } - console.log(drabonballs); + console.log(dragonballs); }); ``` @@ -514,22 +514,22 @@ Heavily inspired by them as well: ```javascript //bad - database.get('drabonballs', function(err, drabonballs) { + database.get('dragonballs', function(err, dragonballs) { if (err) { // if not return here console.log(err); } // this line will be executed as well - console.log(drabonballs); + console.log(dragonballs); }); //good - database.get('drabonballs', function(err, drabonballs) { + database.get('dragonballs', function(err, dragonballs) { if (err) { // handle the error somehow, maybe return with a callback return console.log(err); } - console.log(drabonballs); + console.log(dragonballs); }); ```