DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
arrays with for loops
String
[
]
words
=
new
String
[
]
{
"hello"
,
"foo"
,
"bar"
}
;
int
[
]
squares
=
new
int
[
]
{
1
,
4
,
9
,
16
}
;
Source by codingbat.com #
PREVIOUS
NEXT
Tagged:
#arrays
#loops
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit