Promise Sequencesource code
  1. Create a function that takes an array of functions as its parameter.
  2. Each function in the array should represent a transformation to be applied to the object.
  3. The functions should be executed in the order they appear in the array, with the output of one function serving as the input to the next.
  4. The input object should be passed through the entire pipeline, and the final result should be returned.