diff --git a/Graphs/Astar.js b/Graphs/Astar.js index 94aa05ff4e..1186f1533a 100644 --- a/Graphs/Astar.js +++ b/Graphs/Astar.js @@ -77,8 +77,8 @@ function createGraph(V, E) { return [] // Return empty path if there's no path to the target } - export { createGraph, aStar } - + module.exports = { createGraph, aStar } + // const V = 9 // const E = [ // [0, 1, 4],