JSFiddle - React, Tailwind, and code Playground
HTML
<table id="datatable">
<tr>
<th scope="row">Age: 0-4</th>
<td>0</td>
<td>9.7</td>
</tr>
<tr>
<th scope="row">5-17</th>
<td>23.6</td>
<td>18.0</td>
</tr>
<tr>
<th scope="row">Total 0-17</th>
<td>20.6</td>
<td>16.1</td>
</tr>
</table>
JavaScript
var l1 = $('#datatable td:nth-child(2)').map(function() {
return $(this).text();
}).get();
alert(l1);