DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js subarray
let subArray = array.slice(startIndex, endIndex) // ['a', 'b', 'c'].slice(0, 2) === ['a', 'b']
PREVIOUS
NEXT
Tagged:
#js
#subarray
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit