DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
sort array by date typescript
array.sort((x, y) => +new Date(x.createdAt) - +new Date(y.createdAt));
PREVIOUS
NEXT
Tagged:
#sort
#array
#date
#typescript
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit