sheet_to_row_object_array throws away options object #80
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#80
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
function sheet_to_row_object_array(sheet, opts) { return sheet_to_json(sheet, opts == null ? opts : {}); }
The opts object is never passed on here. I think replacing "opts == null ? opts : {}" with "opts || {}" would fit bette.
@ChrisBurkeBSD I noticed that and actually fixed it in my local copy (both here and in js-xls ), so it will appear in the next update. Thanks for pointing it out!
I actually prefer
opts != null ? opts : {}
because the implicit boolean check is much more complex than a simple comparison against null or undefined