ELI5. What does “return” do in programming? I read about it a lot and still dont understand the purpose. 522 viewsJanuary 1, 2024 Question100.55K December 31, 2022 0 Comments ELI5. What does “return” do in programming? I read about it a lot and still dont understand the purpose. In: 0 10 Answers ActiveNewestOldest Anonymous Posted December 31, 2022 0 Comments In most cases, it ends the current function and resolves in either a value or void/undefined depending on function type. Of course it depends on language and this isn’t necessarily true for all languages, but it covers most. You are viewing 1 out of 10 answers, click here to view all answers. Register or Login
Latest Answers