I have 2 tsv files (tec00104.tsv & tec00114.tsv), with information about countries. I want to make one single array with the common countries from both tsv files. And the values that comes along. This doesn't seem to work, why?
// initialize array  
var countries = [];
for(var i = 0; i < "tec00114.tsv".length; i++)
{
for(var j = 0; j < "tec00104.tsv".length; j++)
    {
    // if the country code is found in both tsv files
        if("tec00114.tsv"[i][2] === "tec00104.tsv"[j][3]);
        {
        // append new value to the array
            countries.push("tec00114.tsv"[i]);
            countries.push("tec00104.tsv"[j]);
        }
    }
 }
console.log(countries);
 
    