4 ms·
JavaScript RORO Pattern
- lioeters 6y ago> RORO pattern, or Receive an Object, Return and Object > ..Functions should always accept an object as their parameters and they should always return an object as their result. > We will then destructure the arguments and the return to have more expressive way of knowing what goes in and out of a function.