Forums › Forums › Web Design › Don’t know where the “undefined” line comes from!
-
Don’t know where the “undefined” line comes from!
-
I’m doing a little personal project, I don’t know if it’s necessary to append the entire code to solve this, but tell me if you need more information. The function solveMaze() is a recursive function, and returns an array, but after the return the console prints a line “undefined”, and I can’t figure out why, or where it comes from. If the function already returned something, shouldn’t have stopped there? Ps: sorry for my english, not my first language https://preview.redd.it/q9nqidpzpdb71.png?width=658&format=png&auto=webp&s=cf681d85378df8454c0f7c8fcadf4cf4bbea289b – by /hq/magentaitsnotme – –
Viewing 1 of 1 replies