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.
This commit is contained in:
Mustafa Kemal Tuna 2019-11-02 10:20:50 +03:00 committed by GitHub
parent b2305cebf0
commit 81f171e10d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ What if we'd like to fix some arguments, but not the context `this`? For example
The native `bind` does not allow that. We can't just omit the context and jump to arguments. The native `bind` does not allow that. We can't just omit the context and jump to arguments.
Fortunately, a helper function `partial` for binding only arguments can be easily implemented. Fortunately, a wrapper function `partial` for binding only arguments can be easily implemented.
Like this: Like this: