d3.js 中对象的 [[prototype]] 变异警告?

Warning of mutating the [[prototype]] of an object in d3.js?

我正在与 d3.js 合作进行数据可视化。我收到下图所示的警告。 有谁知道为什么会这样,我该如何解决?错误中显示的消息如下

mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create

Does anyone have the idea why is this happening

看来是 d3 的错。他们似乎用它来子类化数组 here:

// Until ECMAScript supports array subclassing, prototype injection works well.
var d3_subclass = function(object, prototype) {
  object.__proto__ = prototype;
};

how can I solve this?

忽略警告。或者 提交一个针对 的错误,看看 d3.js 的 this issue