Skip to content

Commit 81f171e

Browse files
authored
wrapper instead of helper
"helper function" term reminds "utility libraries" but "wrapper" term refers "function decorators" and in this context wrapper can be more self-descriptive and meaningful.
1 parent b2305ce commit 81f171e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/10-bind/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ What if we'd like to fix some arguments, but not the context `this`? For example
270270
271271
The native `bind` does not allow that. We can't just omit the context and jump to arguments.
272272
273-
Fortunately, a helper function `partial` for binding only arguments can be easily implemented.
273+
Fortunately, a wrapper function `partial` for binding only arguments can be easily implemented.
274274
275275
Like this:
276276

0 commit comments

Comments
 (0)