mipengine/mip

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

oott123 opened this issue · 1 comments

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…"