Closed cenfun closed 4 years ago
https://github.com/ctimmerm/axios-mock-adapter/blob/4d591122b8b22c5acba2ccee683f6ccd0a928d0f/src/utils.js#L19 https://github.com/ctimmerm/axios-mock-adapter/blob/4d591122b8b22c5acba2ccee683f6ccd0a928d0f/src/utils.js#L31
You should be doing it like this Object.prototype.toString.call(val) Or var toString = {}.toString; toString.call(val) Could you please fix it? Thanks
Object.prototype.toString.call(val)
var toString = {}.toString; toString.call(val)
https://github.com/ctimmerm/axios-mock-adapter/blob/4d591122b8b22c5acba2ccee683f6ccd0a928d0f/src/utils.js#L19 https://github.com/ctimmerm/axios-mock-adapter/blob/4d591122b8b22c5acba2ccee683f6ccd0a928d0f/src/utils.js#L31
You should be doing it like this
Object.prototype.toString.call(val)
Orvar toString = {}.toString; toString.call(val)
Could you please fix it? Thanks