Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina-Lukianytsia committed Sep 18, 2021
1 parent 6ec9bff commit 55b853b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ npm install jsmp-infra-alina_lukianytsia-magic_ball
#### ES6

```js
import getAnswer from 'jsmp-infra-alina_lukianytsia-magic_ball';
import { getAnswer } from 'jsmp-infra-alina_lukianytsia-magic_ball';

const answer = getAnswer(); // => answer = "It is decidedly so"
```

#### Node

```js
const getAnswer = require('jsmp-infra-alina_lukianytsia-magic_ball');
const { getAnswer } = require('jsmp-infra-alina_lukianytsia-magic_ball');

const answer = getAnswer(); // => answer = "It is decidedly so"
```
Expand Down

0 comments on commit 55b853b

Please sign in to comment.