Why does calling my JavaScript function throw an error when I call it like this
wysiwyg2();var wysiwyg2 = function(){ alert(1);}
but work when I do this?
wysiwyg2();function wysiwyg2 (){ alert(1);}
Why does calling my JavaScript function throw an error when I call it like this
wysiwyg2();var wysiwyg2 = function(){ alert(1);}
but work when I do this?
wysiwyg2();function wysiwyg2 (){ alert(1);}