Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
veigaribo committed May 11, 2021
1 parent cdf9c96 commit 79fdf01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ const addable = new Class({

### Instances

Instances are JavaScript classes that behave according to some (type) class.
Instances are JavaScript constructors that behave according to some (type)
class.

Let's start with the following class:
Let's start with the following:

```javascript
class Number {
Expand All @@ -108,8 +109,8 @@ class Number {
```

In order to declare it as an instance of something, you must provide a way of
generating values from your constructor. These are the values that will be used
for testing. (See [How it works](#lt-how-it-works))
generating values from it. These are the values that will be used for testing.
(See [How it works](#lt-how-it-works))

There are two ways of doing that:

Expand Down

0 comments on commit 79fdf01

Please sign in to comment.