Skip to content

Commit

Permalink
with -> which
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikchauhan authored May 3, 2023
1 parent 0d3a4ef commit 2025a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constructor-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ console.log(civic.toString());
console.log(mondeo.toString());
```

* The problem with above method is that every object will have its own copy of `toString` method with is not very efficient.
* The problem with above method is that every object will have its own copy of `toString` method which is not very efficient.

## Constructors With Prototypes:
```ts
Expand Down

0 comments on commit 2025a5c

Please sign in to comment.