Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript array

// let arr_name, elemType[];
let list: number[] = [1, 2, 3];
// Generic array type, Array<elemType>:
let list: Array<number> = [1, 2, 3];
 
PREVIOUS NEXT
Tagged: #typescript #array
ADD COMMENT
Topic
Name
6+6 =