You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
I would like to pass an array of headers to TextUtils.getTable, in order to guarantee column order. Per the ECMAScript spec, properties are enumerated in the following order:
Integer indices (if applicable), in ascending order.
Other string keys (if applicable), in property creation order.
Symbol keys (if applicable), in property creation order.
This means that in my table, if some of my column headers are simple numbers, they will get hoisted to the left of the table, since TextUtils.getTable builds the headers by calling Object.keys on the array of key-value pairs.
Another use case would be if I have built a full table of values, but don't always want to display the whole thing. By passing an array of headers, I can filter out which columns are displayed, if necessary.
The text was updated successfully, but these errors were encountered:
I would like to pass an array of headers to TextUtils.getTable, in order to guarantee column order. Per the ECMAScript spec, properties are enumerated in the following order:
This means that in my table, if some of my column headers are simple numbers, they will get hoisted to the left of the table, since TextUtils.getTable builds the headers by calling Object.keys on the array of key-value pairs.
Another use case would be if I have built a full table of values, but don't always want to display the whole thing. By passing an array of headers, I can filter out which columns are displayed, if necessary.
The text was updated successfully, but these errors were encountered: