educative.io

Flatten Nested List Iterator

The code Sanbox for the implementation Flatten Nested List Iterator has an error in the console while running and with the right solution from the next section has the same behavior.

Error:
file:///data/ds_v1/String.js:4
if (typeof input !== ‘string’) this.onError(input, ‘String is not parsable’);


Course: https://www.educative.io/collection/10370001/6593625897304064
Lesson: https://www.educative.io/collection/page/10370001/6593625897304064/5926973555867648

1 Like

Hi @Anna,

Thanks for reporting this issue. We’ve updated the test cases and they are working fine now. Can you try at your end to confirm the fix?

Thanks!

2 Likes

Hello Dian.

Woks well now! Thanks a lot

Regards, Anna


Course: https://www.educative.io/collection/10370001/6593625897304064
Lesson: https://www.educative.io/collection/page/10370001/6593625897304064/4588768533413888

2 Likes