fork download
  1. var a = doc.createElement...
  2. a.href = 'data:text/html,<b>lalala...';
  3. a.download = 'file1.html';
  4. a.click();
  5.  
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
var a = doc.createElement...
a.href = 'data:text/html,<b>lalala...';
a.download = 'file1.html';
a.click();