i have this javascript and we are trying to enter the request key and when we send the output of variable n in console we can see that this contains request parameters but whatever i do it never enters request key and never even prints anything in console
here is console output for var n
0: {key: 'request', enumerable: false, configurable: true, writable: true, value: ƒ}
1: {key: 'parseCallArguments', enumerable: false, configurable: true, writable: true, value: ƒ}
2: {key: 'call', enumerable: false, configurable: true, writable: true, value: ƒ}
3: {key: 'PublicCallApplicationsSpecific', enumerable: false, configurable: true, writable: true, value: ƒ}
length: 4
[[Prototype]]: Array(0)
here is my function code. i want to enter request field
function p(e, n) {
console.log(n);
for (var t = 0; t < n.length; t++) {
var i = n[t];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
var c = function() {
function e(n) {
// ! function(e, n) {
// if (!(e instanceof n)) throw new TypeError("Cannot call a class as a function")
// }(this, e), this.$http = n.get("$http"), this.$q = n.get("$q"), this.$location = n.get("$location"), this.$httpParamSerializer = n.get("$httpParamSerializer"), this.$rootScope = n.get("$rootScope"), this.apiBaseUrl = "/api/v1/", s.api = this
}
var n, t, i;
return n = e, (t = [
{
key: "request",
value: function(e) {
console.log('656554');
}
}, {
key: "parseCallArguments",
value: function(e, n) {
console.log('parseCallArguments');
}
}
]) && p(n.prototype, t), i && p(n, i), e
}(),
d = ["$injector", function(e) {
return new c(e)
}];
but it never enters any key and never prints console.log('656554'); console.log('parseCallArguments'); even i have disabled full checklist of ! function(e, n) {
any help in finding out where we are doing mistake will be great.