Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aoa_to_sheet() crashes browser if you pass an array of objects #1214

@mnori

Description

@mnori

I know you're not supposed to do this, but if you pass an array of objects into aoa_to_sheet() it gets stuck in an infinite loop.

E.g.

XLSX.utils.aoa_to_sheet([{"hello": "world"}]);
// RIP your chrome tab X_X

JSfiddle

Might be good to throw an exception in this situation ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions