Topic: Coding MOC
Arrays in Typescript
Code
let prices:number[] = [100, 200, 300];
let fruit:string[] = ["hello", "world"];
let array: (string | number)[] = ["apple", true, "orange", false];Topic: Coding MOC
let prices:number[] = [100, 200, 300];
let fruit:string[] = ["hello", "world"];
let array: (string | number)[] = ["apple", true, "orange", false];