so basically ‘_’ is a throwaway var, used when you dont actually nee the arguement. its just a namesplce to show that the value is skipped in that callback, helps with readability
In my experience working on projects with heavy usage of higher-order array methods, I’ve found that using ‘’ as a parameter in map and reduce functions primarily serves as a readability tool. It clearly signals that the value being passed isn’t needed in the current context, and that only the index or a different parameter, if any, is of interest. In many cases, especially when the callback’s signature forces the inclusion of a parameter, naming it '’ avoids confusion. This practice has been effective in making my code more concise and self-documenting, particularly in situations where the variable is intentionally left unused.