Whats wrong with this syntax? : Below code not working in IE. Console shows syntax error. Whats wrong with this?
   
    var text = '{"products":[' +
    '{"name":"IB-400","mail":"9000@mail.pl"},' +
    '{"name":"IB-500","mail":"8000@mail.pl"}]}';
    var textObj = JSON.parse(text)
    var mail = textObj.products.find(itm => itm.name == c).mail
    $( ".komunikat" ).replaceWith( '<div class="komunikat-mail"><h1 style="text-align:center;">Contact</h1><p class="komunikat-paragraph">Lorem ipsum  ' + mail +'. Lorem ipsum.</p></div>' );