Call function in function arguments

Posted by Yisroel on Stack Overflow See other posts from Stack Overflow or by Yisroel
Published on 2010-04-22T03:29:13Z Indexed on 2010/04/22 3:33 UTC
Read the original article Hit count: 296

Filed under:
|

I have a function, we'll call it funcA that returns an object. I want to pass that object to funcB. Can I do this?

funcB(funcA());

so that funcA() is called first and the results are passed to funcB()?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery