-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path02-name-types.ts
51 lines (41 loc) · 1.11 KB
/
02-name-types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
(() => {
// Array of Celcius degrees
const celciusDegrees = [33.6, 12.34];
// Server IP
const serverIp = '123.123.123.123';
// Users list
const users = [
{ id: 1, email: '[email protected]' },
{ id: 2, email: '[email protected]' },
{ id: 3, email: '[email protected]' },
];
// User emails lists
const userEmails = users.map((user) => user.email);
// Boolean variables of a videogame
const canJump = false;
const canRun = true;
const hasItems = false;
const isLoading = false;
// Initial and end time
const startTime = new Date().getTime();
const endTime = new Date().getTime() - startTime;
// =====
// Functions
// =====
// Get books
function getBooks() {
throw new Error('Function not implemented.');
}
// Get booksfrom URL
function getBooksFromUrl(url: string) {
throw new Error('Function not implemented.');
}
// Get square area based on sides
function getSquareArea(side: number) {
throw new Error('Function not implemented.');
}
// Print job if is active
function printJob() {
throw new Error('Function not implemented.');
}
})();