RosettaCodeData/Task/Maze-generation/JavaScript/maze-generation-6.js

4 lines
65 B
JavaScript

here= next;
if (1 < neighbors.length)
path.push(here);