title: How to Read/Write from text file using javascript?
body: <p>I asked this question before but didn't get an answer.
  I'm developing a Cordova game and need to implement a save/load function. E.g A Save/Load progress, done locally. Preferable similar to the fstream used in C++ reading/writing into a local text file. I need this function to work even offline. Any help would be appreciated. Thanks!</p>