We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ccc9d commit 61d9aefCopy full SHA for 61d9aef
lib/unist-util-map.js
@@ -1,6 +1,6 @@
1
// LICENSE : MIT
2
"use strict";
3
-const ObjectAssign = require("object-assign");
+var ObjectAssign = require("object-assign");
4
module.exports = function map(ast, mapFn) {
5
return (function preorder(node, index, parent) {
6
const newNode = ObjectAssign({}, mapFn(node, index, parent));
0 commit comments