DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
tableau javascript
fruits
.
push
(
'Mango'
)
;
// ["Strawberry", "Banana", "Mango"]
var
pos
=
fruits
.
indexOf
(
'Banana'
)
;
// 1
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#tableau
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit