Skip to content

Prototype methods showing up in csv file #6

Description

@kpkeenan

When I export my html table to csv, everything looks great. However, any prototype methods I have in my script are ALSO included in the file.

I have three methods scattered throughout my custom js file that I added to the Array objects prototype.

Array.prototype.contains = function()
Array.prototype.getSum = function()
Array.prototype.getAverage= function()

For whatever reason, these methods show up in my excel file, under my data.

csv_image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions