18

Sometimes I see @cc_on in JavaScript. What does it mean?

1 Answer 1

18

It's for conditional compilation. Seems to be a feature of Microsoft's "JScript" ECMAScript implementation.

1
  • 4
    Not IE but JScript (ECMAScript implementation used in IE). This is important because JScript, for example, is also used in ASP, Windows Script Host, etc. See en.wikipedia.org/wiki/JScript
    – kangax
    Commented Aug 28, 2009 at 4:37

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.