var supportsES6 = function() { try { new Function("(a = 0) => a") return true } catch (err) { return false } }()
if (!supportsES6) { // hata mesajı veya sayfaya yönlendirebilirsiniz. }
if (supportsES6) { var script = document.createElement("script") script.src = "es6-iceren-js-dosyasi.js" document.head.appendChild(script) }