In IE 8 given code not raise 'error dialog popup'.
In IE 11 raise 'error dialog popup ' and how to avoid... with out changing any internet option setting
<html>
<head>
<script>
window.onerror = function()
{
return false;
}
window.onload = function()
{
var c = a.k; // a is undefined here
}
</script>
</head>
<body>
</body>
</html>