Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them #45

Closed
ohardy opened this issue Mar 4, 2015 · 4 comments

Comments

@ohardy
Copy link

ohardy commented Mar 4, 2015

in https://github.com/mzabriskie/axios/blob/master/lib/utils.js#L148

// Check if obj is array-like
var isArray = obj.constructor === Array || typeof obj.callee === "function";

when using webpack bundle in strict mode that contains axios.standalone.js (i use bluebird Promise)

@dev-tim
Copy link

dev-tim commented Mar 6, 2015

:+1 to this issue

@mzabriskie
Copy link
Member

Fixed with 0.5.1

@dev-tim
Copy link

dev-tim commented Mar 28, 2015

👍

@abbothzhang
Copy link

can you tell me how to fix it?

@axios axios locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants