views:

34

answers:

1

Why anonymous function is not supported in IE8?

+3  A: 

It is supported. Try this :

<script type="text/javascript">
(function() {
    alert('It works');
})();
</script>
HoLyVieR