DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
arrays in typescript
var
alphas
:
string
[
]
;
alphas
=
[
"1"
,
"2"
,
"3"
,
"4"
]
console
.
log
(
alphas
[
0
]
)
;
console
.
log
(
alphas
[
1
]
)
;
Source by www.tutorialspoint.com #
PREVIOUS
NEXT
Tagged:
#arrays
#typescript
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit