Advertisement
otorp2

ma funct

May 3rd, 2020
929
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function add(x: number, y: number): number {
  3.     return x + y;
  4. }
  5. // let sum = add(1, 2);
  6.  
  7. function printme(x: string) {
  8.     console.log(x)
  9. }
  10. console.log(add(1,2))
  11. printme("kokokokokok")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement