JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td>one</td>
        <td>two</td>
        <td>three</td>
    </tr>
        <tr>
        <td>one</td>
        <td>two</td>
        <td>three</td>
    </tr>
</table>

JavaScript

$('tr').each(function(){
    $('td:first',this).remove().insertAfter($('td:last',this)); 
});