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

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

This comment has been minimized.

Copy link

commented Mar 6, 2015

:+1 to this issue

@mzabriskie

This comment has been minimized.

Copy link
Member

commented Mar 10, 2015

Fixed with 0.5.1

@dev-tim

This comment has been minimized.

Copy link

commented Mar 28, 2015

👍

@abbothzhang

This comment has been minimized.

Copy link

commented Jan 6, 2016

can you tell me how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.