AxiosHeaders.jslib/core
1function (obj, header) {
2 const accessorName = utils.toCamelCase(' ' + header);
3
4 ['get', 'set', 'has'].forEach((methodName) => {
5 Object.defineProperty(obj, methodName + accessorName, {
6
7 __proto__: null,
8 value: function (arg1, arg2, arg3) {
9 return this[methodName].call(this, header, arg1, arg2, arg3);
10 },
11 configurable: true,
12 });
13 });
14}