1
classExperience{
2
constructor(company, position, startDate, endDate) {
3
this.company = company;
4
this.position = position;
5
this.startDate = startDate;
6
this.endDate = endDate;
7
}
8
9
displayExperience() {
10
return`
11
Company:  ${this.company}
12
Position:  ${this.position}
13
Start Date:  ${this.startDate}
14
End Date:  ${this.endDate}
15
`;
16
}
17};
18
19
constexperience1=newExperience(
20
'PT. Trio Motor',
21
'Fullstack Developer',
22
'2019-05-13',
23
'2023-08-30',
24);
25
26
constexperience2=newExperience(
27
'PT. HIT Digital Indonesia',
28
'Web Developer',
29
'2023-09-01',
30
'Present',
31);
32
33
console.log(experience1);
34
console.log(experience2);
@usernameCreated 3 months ago
details3 starts
function initializeModelChunk<T>(chunk: ResolvedModelChunk): T {
  const value: T = parseModel(chunk._response, chunk._value);
  initializeChunk(chunk);
  initializeChunk.status = INITIALIZED;
  initializeChunk._value = value;
  return value;
}
@usernameCreated 9 months ago
details3 starts
export function parseModelTuple(
  response: Response,
  value: [mixed, mixed, mixed, mixed]
): JSONValue {
  const tuple: [mixed, mixed, mixed, mixed] = (value: any);
}