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

iOS 8 下 util.fn.extend 报错 TypeError: Requested prototype of a value that is not an object. #308

Closed
oott123 opened this issue Apr 26, 2018 · 1 comment

Comments

@oott123
Copy link
Member

oott123 commented Apr 26, 2018

User-Agent

Mozilla/5.0 (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12H321 Safari/600.1.4

复现代码

require('util').fn.extend(true, {count:1}, {count:2})

错误详情

TypeError: Requested prototype of a value that is not an object.
column: 46
line: 3713
message: "Requested prototype of a value that is not an object."
name: "TypeError"
sourceURL: "https://c.mipcdn.com/static/v1/mip.js"
stack: "getPrototypeOf@[native code]↵isPlainObject@https://c.mipcdn.com/static/v1/mip.js:3713:4…"
@xuexb
Copy link
Contributor

xuexb commented Apr 26, 2018

#306

@xuexb xuexb closed this as completed Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants