I have an array of 10 strings, and I want to append each one of them to a file I create in node, with each string being on their own line. I know I can use appendFile(), however what are the different ways I can loop over the array and call appendFile() such that the ORDER of the strings in the array is the same order they are appended to the file?
Submitted October 19, 2019 at 07:26AM by solrflow
No comments:
Post a Comment