theritikchoure/carrierjs

question about the todo comment

Closed this issue ยท 2 comments

Good evening,

I would like to contribute to this project. In the main file there are commonly repeated lines:
req.onreadystatechange = () => { if(req.readyState === 4 && req.status === 404) { // TODO } }

Can you explain what the todo means.

Thanks for your attention,
lucianidev

We were supposed to do error handling from there, but now we are not using this block for error handling.

we have removed it.

Thanks for your issue.

A heartfelt thanks to you for your contribution to this project ๐ŸŽ‰๐ŸŽ‰

We are really grateful for your contribution.

Happy Learning ๐Ÿ’š!!!