This website requires JavaScript.
Explore
Help
Sign In
gaspersic
/
freeCodeCamp
Watch
1
Star
0
Fork
0
You've already forked freeCodeCamp
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
bda61b730dbfe724f29ea93c63e55b7574b1b721
Branches
Tags
View all branches
freeCodeCamp
/
guide
/
english
/
certifications
/
javascript-algorithms-and-data-structures
/
basic-data-structures
/
access-an-arrays-contents-using-bracket-notation
/
index.md
Mrugesh Mohapatra
da0df12ab7
fix(guide): simplify directory structure
2018-10-16 21:32:40 +05:30
278 B
Raw
Blame
History
title
title
Access an Array's Contents Using Bracket Notation
Access an Array's Contents Using Bracket Notation
Remember the arrays index begins at 0 so the postion of b will be located in
myArray[1]
.
Solution
myArray
[
1
]
=
"anything we want"
;