o.hasOwnProperty is not a function #1726

Closed
opened 2020-01-15 20:15:27 +00:00 by BjoernRave · 1 comment
BjoernRave commented 2020-01-15 20:15:27 +00:00 (Migrated from github.com)

When trying to call XLSX.utils.json_to_sheet() I get the following error: o.hasOwnPropert is not a function

This most likely related to this issue.

When trying to call `XLSX.utils.json_to_sheet()` I get the following error: `o.hasOwnPropert is not a function` This most likely related to [this issue](https://github.com/FormidableLabs/urql/pull/343).
SheetJSDev commented 2020-01-17 05:54:45 +00:00 (Migrated from github.com)

That's hilarious and disturbing. The referenced PR changed o.hasOwnProperty to Object.prototype.hasOwnProperty.call(o, key) -- we'll look into making the same changes throughout the code

That's hilarious and disturbing. The referenced PR changed `o.hasOwnProperty` to `Object.prototype.hasOwnProperty.call(o, key)` -- we'll look into making the same changes throughout the code
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#1726
No description provided.