DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
foreach loop in typescript
let
numbers
:
number
[
]
=
[
1
,
2
,
3
,
4
,
5
]
;
numbers
.
forEach
(
n
=>
{
console
.
log
(
n
)
;
}
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#foreach
#loop
#typescript
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit