Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

push at first index typescript

var a = [23, 45, 12, 67];
a.unshift(34);
console.log(a); // [34, 23, 45, 12, 67]
 
PREVIOUS NEXT
Tagged: #push #index #typescript
ADD COMMENT
Topic
Name
9+9 =