Create Text file from String using JS and html5

后端 未结 4 532
感情败类
感情败类 2020-12-29 10:15

i want to create a text file from a string. currently i am using a function which takes an array and makes it into a string then using that string i want to create a local t

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 10:34

    BlobBuilder is now obsolete. Use this instead:

    https://developer.mozilla.org/en-US/docs/Web/API/Blob#Blob_constructor_example_usage

提交回复
热议问题