I am trying to create command line todo list using Javascript. I want a function which will delete the todo in a file as per the index provided and also want to store that t