Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jed committed Nov 21, 2021
1 parent fe93d42 commit fdea111
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 @@ -20,15 +20,15 @@ build({
}).then(stop)
```

In this case, we have this module that generates the first 50 fibonacci numbers like this:
In this case, we have a module that generates the first 50 fibonacci numbers like this:

```js
let fib = n => n < 2 ? 1 : fib(n - 1) + fib(n - 2)

export default Array.from({length: 50}, (_, n) => fib(n))
```

importing it without this plugin like this:
Importing it without this plugin like this:

```js
import table from './table.js'
Expand Down

0 comments on commit fdea111

Please sign in to comment.