You are viewing a single comment's thread. Return to all comments →
I'm getting a bug when trying to solve this with JavaScript. I didn't change any of the main method code, so everything from the error is pre-written.
solution.js:41 ws.write(res.join(' ') + '\n'); ^ TypeError: Cannot read property 'join' of undefined at main (solution.js:41:18) at ReadStream.<anonymous> (solution.js:20:5) at emitNone (events.js:111:20) at ReadStream.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →
I'm getting a bug when trying to solve this with JavaScript. I didn't change any of the main method code, so everything from the error is pre-written.