Posts by user141503 • 26 points
1 post
-
1
votes1
answer1306
viewsA: Doubt in JS array logic
You have to understand that when you declare return in a function, its execution is terminated. It is of no use to declare a for and then return in the first interaction. yield has a behavior more…
javascriptanswered user141503 26