Alex Rivera | Logout

Why /*@ isn't a comment in JavaScript?

Asked 2011-04-08T13:52:13.537
15

This script http://html5shiv.googlecode.com/svn/trunk/html5.js looks like a big comment, but it works. Why /*@ doesn't behave like a comment?

Edit
Report

1 Answer

0

It's a hack that uses IE's strange way of not considering /*@ a comment.

answered 2011-04-08T13:56:18.353

Your Answer