Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

How to declare array in Typescript?

const friends:string[] = ["Adil", "Abrar", "Anfal","Ashik"];
Source by devdojo.com #
 
PREVIOUS NEXT
Tagged: #How #declare #array
ADD COMMENT
Topic
Name
2+2 =