Skip to content

Commit 5062d3f

Browse files
authored
Merge pull request #1284 from paroche/patch-8
Update article.md
2 parents b218b18 + 3b96e25 commit 5062d3f

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/09-call-apply-decorators

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/09-call-apply-decorators/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ From an outside code, the wrapped `slow` function still does the same. It just g
5858
To summarize, there are several benefits of using a separate `cachingDecorator` instead of altering the code of `slow` itself:
5959

6060
- The `cachingDecorator` is reusable. We can apply it to another function.
61-
- The caching logic is separate, it did not increase the complexity of `slow` itself (if there were any).
61+
- The caching logic is separate, it did not increase the complexity of `slow` itself (if there was any).
6262
- We can combine multiple decorators if needed (other decorators will follow).
6363

6464

0 commit comments

Comments
 (0)