Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. ...
  2. baseFunction(): void {
  3. const params = [a, b, c];
  4. const output = this.spreadFunction(...params);
  5. console.log(output);
  6. }
  7.  
  8. spreadFunction(attribute1, attribute2, attribute3 ): string {
  9.  
  10. ...
  11. return 'anything';
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement