Wrapper
In programming languages such as JavaScript, a wrapper is a function that is intended to call one or more other functions, sometimes purely for convenience, and sometimes adapting them to do a slightly different task in the process.
In programming languages such as JavaScript, a wrapper is a function that is intended to call one or more other functions, sometimes purely for convenience, and sometimes adapting them to do a slightly different task in the process.
For example, SDK Libraries for AWS are examples of wrappers.
## See also
- [Wrapper function](https://en.wikipedia.org/wiki/Wrapper_function) (Wikipedia)
- Related glossary terms:
- API
- Class
- Function
source: MDN Web Docs mirror · page
Cite this
"Wrapper". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Glossary/Wrapper