Checking whether four text fields are all empty I have a code which checks if any of the 4 textfields on our server contains text. If even one of the four textboxes is not empty, the generated table won´t skip that row and will draw it, otherwise the row will be completely skipped and not shown in the table. 

For that I declared the variables for the words and the Boolean, so I can later use it to hide the table row. What the code does is it checks all the possible combinations of the wordboxes and if even one on the wordboxes contains something, the checkRow variable  will be true.

This "if" statement method that I use works, however it is very hard to follow and I think it could be better done. I have documented myself but all the alternatives involve jquery - which is not supported on our webclient. 
Does anyone have a suggestion how to better this code?

                var checkRow=false;
                var word1='{{WORD1}}';
                var word2 ='{{WORD2}}';
                var word3 ='{{WORD3}}';
                var word4 ='{{WORD4}}';
                if ((word1 !=''&amp;&amp; word2 !=''&amp;&amp; word3 !=''&amp;&amp; word4 != '') ||(word1 ==''&amp;&amp; word2 ==''&amp;&amp; word3 !='' &amp;&amp; word4!='') || (word1 ==''&amp;&amp; word2 ==''&amp;&amp; word3 =='' &amp;&amp; word4!='')
                || (word1 ==''&amp;&amp; word2 !=''&amp;&amp; word3 !='' &amp;&amp; word4!='') || (word1 !=''&amp;&amp; word2 !=''&amp;&amp; word3 =='' &amp;&amp; word4=='') || (word1 !=''&amp;&amp; word2 ==''&amp;&amp; word3 =='' &amp;&amp; word4!='')
                || (word1 !=''&amp;&amp; word2 ==''&amp;&amp; word3 !='' &amp;&amp; word4 =='') || (word1 ==''&amp;&amp; word2 !=''&amp;&amp; word3 !='' &amp;&amp; word4=='') || (word1 ==''&amp;&amp; word2 !=''&amp;&amp; word3 =='' &amp;&amp; word4!='')
                || (word1 !=''&amp;&amp; word2 ==''&amp;&amp; word3 =='' &amp;&amp; word4 =='') || (word1 ==''&amp;&amp; word2 !=''&amp;&amp; word3 =='' &amp;&amp; word4=='') || (word1 ==''&amp;&amp; word2 ==''&amp;&amp; word3 !='' &amp;&amp; word4!='')) {
                    var checkRow= true;
                } else  
                var checkRow= false;
you could just say

var checkRow = false;
if(word1 != '' || word2 != '' || word3 != '' || word4 != '') {
    checkRow = true;


or you could concat the single words and check if the length is greater than 0



EDIT: 
since some people favored the string-concat solution: actually that was kind of a joke in the sense of https://en.wikipedia.org/wiki/Barometer_question. if the strings are not large it doesn't make much of a difference, but from a performance-point of view that would not be a good solution.