Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

array index javascript

let fruits = ['Apple', 'Banana']
let first = fruits[0]
// Apple

let last = fruits[fruits.length - 1]
// Banana
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #index #javascript
ADD COMMENT
Topic
Name
2+9 =