Is there a way to parse an array of numbers to a date string in typescript?
This is how I would do it in C#:
int[] date = { 2017, 10, 20 };
public string convert(dynamic date)
{
return string.Format("{0}/{1}/{2}", date[1], date[2], date[0]);
}
Any suggestions to do this in typescript/javascript?