When I test my solitin in VS code with your examples; all works. When I attempt it here on codewars, it returns: error; expected 'NJVGhr\nMObsvw\ntPhCtl\nsoEnhi\nrtQRLK\nzjliWg' instead got undefined. And I even tried a matrix of 20x20 with symbols and numbers in it, and still works in VS code. Can you figure out what is wrong? Thanks
Yes it is, I'm sorry. I missread some parts. I've changed it, now it works. Very fun kata, thank you!
I tried your solution and it always return "undefined". Something is wrong in your code.
When I test my solitin in VS code with your examples; all works. When I attempt it here on codewars, it returns: error; expected 'NJVGhr\nMObsvw\ntPhCtl\nsoEnhi\nrtQRLK\nzjliWg' instead got undefined. And I even tried a matrix of 20x20 with symbols and numbers in it, and still works in VS code. Can you figure out what is wrong? Thanks