| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi @dericop! Can you make sure that make lint passes? That being said, I think it’s more common for new code to use for (... of ...) than .forEach() in our codebase. |
Sorry, something went wrong.
|
@addaleax you're right. I've been reading and for/of is the most robust way to iterate over an array in JavaScript. |
Sorry, something went wrong.
For this kind of thing, using .forEach() is fairly common in our tests and not very problematic. |
Sorry, something went wrong.
Co-Authored-By: Juan José <soyjuanarbol@gmail.com>
Co-Authored-By: Juan José <soyjuanarbol@gmail.com>
|
@addaleax Do you think that i should make any changes for approved the pull request? |
Sorry, something went wrong.
|
@dericop That question probably doesn’t go to just me. ;) I’ll approve this, with the error message test this seems like a good addition 👍 |
Sorry, something went wrong.
|
When this is landed, the commit message should be edited to conform with doc/guides/contributing/pull-requests.md (start with an imperative verb, etc.). Maybe this? test: use forEach() in test-async-wrap-constructor |
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: #32631 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
| Back | FazBrowse Home | New Git URL |
Checklist