📜 ⬆️ ⬇️

The shortest record by IE is broken

Almost a year ago, I already wrote (http://habrahabr.ru/blogs/javascript/50544/) about the shortest definition of the Internet Explorer browser, but someone Aleko found an even shorter version:

-[1,]

Only 5 bytes. Example of use:
if(-[1,]){
alert("Not IE!");
}

')

Source: https://habr.com/ru/post/80333/


All Articles