I was wondering whether this is legal to do. Could I have something like:
function funct(a, foo(x)) { ... }
where a is an ar
a
What you have mentioned is legal. Here, foo(X) will get called and its returned value will be served as a parameter to the funct() method
foo(X)
funct()