roberto-butti / some-drops-of-javascript

This book collects some useful, unknown, underrated JavaScript functions discovered and learned while using JavaScript daily.
https://drops-of-javascript.hi-folks.dev/
Other
151 stars 46 forks source link

feat: add entries method documentation and example #81

Closed DomeT99 closed 3 weeks ago

DomeT99 commented 1 month ago

If there are any problems, I remain available :)

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
some-drops-of-javascript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 3:27pm
roberto-butti commented 1 month ago

Hi @DomeT99 this is a great PR. Thank you for your time and commitment. I'll give you a suggestion. Let's see if you agree. I know we are in the array section, but in this explanation, i would like to mention that entries() is available for Object and Map adding a brief explanation and a short example (one for Object and one for Map). Thank you!

DomeT99 commented 1 month ago

Hi @roberto-butti It's a good idea! You could mention that entries() is a method of both Map and Object with a small example and then insert a link to the page specific for more information. Let me know :)

roberto-butti commented 1 month ago

@DomeT99 do you want to add it as part of this PR?

DomeT99 commented 4 weeks ago

No problems.

roberto-butti commented 3 weeks ago

Thank you @DomeT99 for the PR and for your addings. Magical

I'm going to merge it