From 3b96e2519d137dd34f144b56bb403087556292c3 Mon Sep 17 00:00:00 2001 From: paroche <46547072+paroche@users.noreply.github.com> Date: Tue, 27 Aug 2019 21:46:58 -0600 Subject: [PATCH] Update article.md Maybe this is what you want. "Complexity" is singular, so if that's the antecedent, one would use "was". --- 1-js/06-advanced-functions/09-call-apply-decorators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/09-call-apply-decorators/article.md b/1-js/06-advanced-functions/09-call-apply-decorators/article.md index ada01f91..3ca987c4 100644 --- a/1-js/06-advanced-functions/09-call-apply-decorators/article.md +++ b/1-js/06-advanced-functions/09-call-apply-decorators/article.md @@ -58,7 +58,7 @@ From an outside code, the wrapped `slow` function still does the same. It just g To summarize, there are several benefits of using a separate `cachingDecorator` instead of altering the code of `slow` itself: - The `cachingDecorator` is reusable. We can apply it to another function. -- The caching logic is separate, it did not increase the complexity of `slow` itself (if there were any). +- The caching logic is separate, it did not increase the complexity of `slow` itself (if there was any). - We can combine multiple decorators if needed (other decorators will follow).