Skip to content

Commit

Permalink
Merge pull request #645 from evanx/patch-1
Browse files Browse the repository at this point in the history
Change var to const in README for consistency
  • Loading branch information
recrsn committed Sep 14, 2018
2 parents 116993a + 894fccd commit 4f7a0d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -92,7 +92,7 @@ Make sure you have the appropriate dependencies installed and configured for you
### async (recommended)

```javascript
var bcrypt = require('bcrypt');
const bcrypt = require('bcrypt');
const saltRounds = 10;
const myPlaintextPassword = 's0/\/\P4$$w0rD';
const someOtherPlaintextPassword = 'not_bacon';
Expand Down Expand Up @@ -176,7 +176,7 @@ async function checkUser(username, password) {
### sync

```javascript
var bcrypt = require('bcrypt');
const bcrypt = require('bcrypt');
const saltRounds = 10;
const myPlaintextPassword = 's0/\/\P4$$w0rD';
const someOtherPlaintextPassword = 'not_bacon';
Expand Down

0 comments on commit 4f7a0d3

Please sign in to comment.