如何在JavaScript中检查TD是否为空

就我而言,我有1000行数据table.so,我不能检查每个td是否为空或不在我自己。所以我决定为text-align:center和content:'-'的空表数据样式编写脚本。我不知道该怎么做,所以请大家帮帮我。

table, th, td{
  border: 1px solid black;
  border-collapse: collapse;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"/>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div class="col-md-12 col-sm-6">
                        <div class="table-style-1">
                            <div class="round-box"><img class="sppb-img-responsive img-responsive"
                                                        src="<?= base_url('media/images/') ?>associates-flag-8.jpg"
                                                        alt=""></div>
                            <div class="head"><span>OUR MAJOR CLIENTS IN OMAN</span>

                            </div>
                          <table class="table table-bordered client-1">
    <thead>
        <tr>
            <th>COMPANY NAME</th>
            <th>CITY</th>
            <th>SERVICES</th>
        </tr>
    </thead>
    <tbody class="EMIRATES">
        <tr>

            <tr>
                <td>Dream Tourist Village </td>
                <td></td>
                <td>Hotel / Resort 
                </td>
            </tr>
            <tr>
                <td>City Seasons Muscat </td>
                <td></td>
                <td>Hotel / Resort</td>
            </tr>
            <tr>
                <td>    
Tawoos Industrial Services Company 
LLC </td>
                <td></td>
                <td>Catering Company </td>
            </tr>
            <tr>
                <td>S.J. Abed & Al Sulaimi Catering Group 
LLC </td>
                <td></td>
                <td>
                </td>
            </tr>
            <tr>
                <td>Ministry of Defence </td>
                <td></td>
                <td>Ministry of Defense</td>
            </tr>
            <tr>
                <td>The Sultan Special Force </td>
                <td></td>
                <td>Ministry of Defense</td>
            </tr>
            <tr>
                <td>Port Services Corporation SAOG </td>
                <td></td>
                <td>Port Operation </td>
            </tr>
            <tr>
                <td>Port of Salalah</td>
                <td></td>
                <td>Port Operation </td>
            </tr>
            <tr>
                <td> </td>
                <td></td>
                <td>Ready Made Garment 
Factories </td>
            </tr>
            <tr>
                <td>    
Al Buraimi Garments, Tailoring & 
Embroidery L.L.C </td>
                <td></td>
                <td>Ready Made Garment 
Factories </td>
            </tr>
            <tr>
                <td>Starbag Company. WLL </td>
                <td></td>
                <td></td>
            </tr>

            <tr>
                <td>Shanfari& Partners Company LLC. </td>
                <td></td>
                <td>    
Maintenance/Engineering/
Construction/Contracting 
Company </td>
            </tr>
            <tr>
                <td>Al Nadha United LLC </td>
                <td></td>
                <td>Maintenance/Engineering/
Construction/Contracting 
Company </td>
            </tr>
            <tr>
                <td>Al Obaidani Group </td>
                <td></td>
                <td>Maintenance/Engineering/
Construction/Contracting 
Company </td>
            </tr>
            <tr>
                <td>    
Cement Marketing Co. LLC </td>
                <td></td>
                <td> </td>
            </tr>

    </tbody>
</table>

                        </div>
                    </div>
</body>
</html>

每个空的td都必须居中,css内容为“-”。