DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript remove first character from array list
var x = ["X2019","X2020","X2021","X2022"]; var y = x.map(s => s.slice(1)); console.log(y);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#remove
#character
#array
#list
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit