判断IE浏览器的最简洁方法

<script type='text/javascript'>
var ie = !-[1,];
alert(ie);
</script>

原文地址:https://www.cnblogs.com/huangf714/p/5864357.html