This might be a pedantic request, but shouldn't *foreach microsyntax use of instead of in, since a for-in loop (for (item in items)) iterates an array's keys rather than its values?
This issue has expanded to include more than array iteration. One of my comments on this thread describes one possibility for making the *foreach syntax more flexible.
This might be a pedantic request, but shouldn't*foreachmicrosyntax useofinstead ofin, since a for-in loop (for (item in items)) iterates an array's keys rather than its values?This issue has expanded to include more than array iteration. One of my comments on this thread describes one possibility for making the
*foreachsyntax more flexible.