Detecting IE in 12 bytes
Published: Wed, 28 Jan 2009 12:04:53 GMT
Updated: Thu, 31 Jul 2025 06:59:40 GMT
Read time: ⏱️ < 1 min read
Andrea Giammarchi had a interesting article which stated you can detect IE in 32 bytes of code. I wondered if this could be improved, after a few failed attempts I found this to be the smallest and fastest way:-
IE='\v'=='v'
Pretty cool eh?