Skip to content

Commit 9d8e804

Browse files
committed
Arrays
1 parent 157dbbe commit 9d8e804

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

TS/Basics/arrays.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ const superHeroes: string[] = [];
44
// const heroPower: number[] = [];
55
const heroPower: Array<number> = [];
66

7-
type User = {
8-
name: string
9-
isActive: boolean
10-
}
7+
// type User = {
8+
// name: string
9+
// isActive: boolean
10+
// }
1111

1212
const MLModels: number[][] = [
1313
[255, 255, 255],
1414
[]
1515
]
1616

17-
const allUsers: User[] = []
17+
// const allUsers: User[] = []
1818

1919
superHeroes.push("Iron Man");
2020
heroPower.push(2);
2121

22-
allUsers.push({name: "", isActive: true})
22+
// allUsers.push({name: "", isActive: true})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy