Closed zhubin1992 closed 4 years ago
d3-geo-projection@2.8.0/dist/d3-geo-projection.js (:445)
function solve2d(f, MAX_ITERATIONS = 40, eps = epsilon2) { return function(x, y, a = 0, b = 0) { ... }; }
Default function parameters are ECMAScript 2015.That will cause some errors.
We need use Babel to use the latest JavaScript features that aren't yet supported by browsers and Node.js.
My mistake. I always forget. Thank you!
You can add an eslint rule to remind you if you like.
d3-geo-projection@2.8.0/dist/d3-geo-projection.js (:445)
Default function parameters are ECMAScript 2015.That will cause some errors.