Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select item from list javascript

const list = ['one', 'two', 'three', 'four', 'admin', 'november', 'zztop'];

console.log(list[3]) //prints in console 4th item of the list considering first item is index 0
 
PREVIOUS NEXT
Tagged: #select #item #list #javascript
ADD COMMENT
Topic
Name
4+6 =