Javascript on click download file

Create and download data in CSV format using plain JavaScript is triggered by the click of the button, will create a string that will become the content of the file 

14 May 2019 File downloading is a core aspect of surfing the internet. For example, click to save a photo or download a report. do a lot of complex stuff in the browser using JavaScript without ever having to communicate with a server. 27 Sep 2019 By clicking on a link you download a dynamically-generated Blob with hello world contents as a file: