data = [ RowDataPacket { test: '12312311' },
RowDataPacket { test: '12312312' },
RowDataPacket { test: '12312313' } ]
I would like to get the numbers from this object into an array in Javascript.
I already tried it with .split(/(\d+)/);
but I get this error in Chrome:
Uncaught TypeError: data.split is not a function.
How can I extract the numbers?