Hi folks,
I took a look on my earlier proposal here and just made an update on the example JS code that hack the return
statement to return as fast as possible to the caller function. I made a quick rewrite of @theScottyJam to make it more obvious and fluent.
Anyway, this is the update, and also published for the JS community under:
Npm package: @bacloud22/eager_return_js - npm
Repo: GitHub - bacloud23/eager_return_js: JS Proposal -- Please open an issue for discussions
Feel free to contribute ! also I note this is kind of an algorithm, and could be implemented the same in many other high level programming languages that do not have the possibility to jump in the call stack !
ps: if you like it hit the star button x)
Kindly.