Question is, how does the function handle this as a parameter, because it is not an actual value is it. Doesn’t the function being passed in need to be supplied an input in order to return a value, and if so is it the output from the passed in function that
is used as the parameter? If this does not make sense, let me know,
You can pass in a function as a callback so:
var value = callBack();
considered an object orientated language, as like .net it concerns itself heavily with objects that maintain state, and your code manipulates this state.