Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant