Page2 (Sample TS code)

Hi. This is page 2.

Here is a TypeScript code

let a = 123;
let b = 555;

class Person {
  constructor(public name:string, public age:number) { }

  getName() {
    return this.name;
  }

  getAge() {
    return this.age;
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14