I have some code that I have been using in an application for some time now where all of our internal users are using firefox for running the app. There are a few people wanting to run IE and there is a block of code that I believe is hitting an error and I don't know exactly why..
// Given a field name, check to see if its in our output. If so, return the formatted link
function createLink(field, val) {
    var output = {
        'ntid': 'https://web.internal/profile/' + val,
        'email': 'mailTo:' + val
    };
    for (var key of Object.keys(output)){
        if (field.toLowerCase().includes(key)){
            return `<a href="${output[key]}" target="_blank">${val}</a>`;
        }
    }
    return val;
}
In IE 11, I get a console error SCRIPT1004: Expected ';' which refers to the line for (var key of Object.keys(output)){.
Is this not supported in IE11 or is there some type of syntax that FF handles correctly that IE doesn't? 
 
     
     
    