Looking to convert an array class in typescript and pass it to another source. Seeking help on achieving this task in a clean and efficient manner.
data : target[] = [{Name : "XXX", Age : "31",DOB : "20-12-1988", Resource: "Java"},
{Name : "YYY", Age : "21",DOB : "20-12-1998", Resource: "Dot Net"},
{Name : "ZZZ", Age : "31",DOB : "1-12-1988", Resource: "SQL"},
{Name : "AAA", Age : "26",DOB : "20-12-1988", Resource: "Angular"},
{Name : "BBB", Age : "28",DOB : "20-12-1988", Resource: "React"},]
Desired output after conversion:
[["XXX","31","Java"],["YYY","21","Dot Net"],["ZZZ","31","SQL"],["AAA","26","Angular"],["BBB","28","React"]]
Any suggestions on the most effective approach would be greatly appreciated. Thank you in advance.