Runs all observable sequences in parallel and collect their last elements.
Array): An array or arguments of Observable sequences or Promises to collect the last elements for.
Function) - The result selector from all the values produced. If not specified,
forkJoinwill return the results as an array.
Observable): An observable sequence with an array collecting the last elements of all the input sequences or the result of the result selector if specified.