Skip to content

Commit

Permalink
const instead var in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Arttse committed Mar 9, 2019
1 parent 5bda95d commit 9c513e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ yarn add is-url-relative-without-domain --ignore-optional
## Usage

```js
var isUrlRelativeWithoutDomain = require('is-url-relative-without-domain');
const isUrlRelativeWithoutDomain = require('is-url-relative-without-domain');

isUrlRelativeWithoutDomain('/show/must?go=on');
//=> true
Expand Down

0 comments on commit 9c513e0

Please sign in to comment.