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
We could rename/alias pairs into entries as it is exactly what the js Object first-class function entries are doing.
As far as is know @benlesh implemented this operator. So maybe he knows best for what reason the naming is why it is.
Also, the source code could be improved as the API changed since it'S implementation and I believe we could go with Object.entries, but maybe this updating of the code should be a separate issue.
I'll wait for feedback here. :)
Furthermore, the description section could be improved compared to the short description section.
The text was updated successfully, but these errors were encountered:
BioPhoton
changed the title
Renaming pairs to entries to provide a more intuitive/JS-aligned API
[docs]: Rename/Alias pairs to entries to provide a more intuitive/JS-aligned API
Mar 29, 2019
Bug Report
We could rename/alias pairs into entries as it is exactly what the js Object first-class function entries are doing.
As far as is know @benlesh implemented this operator. So maybe he knows best for what reason the naming is why it is.
Also, the source code could be improved as the API changed since it'S implementation and I believe we could go with
Object.entries
, but maybe this updating of the code should be a separate issue.I'll wait for feedback here. :)
Furthermore, the description section could be improved compared to the short description section.
Current Behavior
All good!
Reproduction
No bug present
Expected behavior
Behavior is perfect
Possible Solution
Introducing Alias
Additional context/Screenshots
The text was updated successfully, but these errors were encountered: