Question: how to export sharepoint list data to excel using javascript?
Answer: Create a new View in SharePoint List., Export View Data to Excel Sheet., Render View as HTML on the Custom UI.