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


i working d3.js data visualization. getting warning shown in following image.enter image description here have idea why happening , how can solve this? message shown in error following

mutating [[prototype]] of object cause code run slowly; instead create object correct initial [[prototype]] value using object.create 

does have idea why happening

looks it's d3's fault. seem use subclass arrays here:

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

how can solve this?

ignore warning. or file bug against have @ this issue of d3.js.


Comments