Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

Get return from inner function #14

Open
jaandrle opened this issue Apr 30, 2020 · 1 comment
Open

Get return from inner function #14

jaandrle opened this issue Apr 30, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@jaandrle
Copy link
Owner

function $function_innerFunction(outerFunction, innerFunction){
    let out;
    outerFunction((...args)=> (out= innerFunction(...args)));
    return out;
}
@jaandrle jaandrle added enhancement New feature or request question Further information is requested labels Apr 30, 2020
@jaandrle
Copy link
Owner Author

needs some usercase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant