preprocessor directivities with JavaScript

As I know, it is possible to use #if, #else and #endif preprocess with C# in Unity.

But any other way for JavaScript?

Just trying to run Penellope with Unity windows and it needs to block any iphone specific codes.

Any other ideas?

Thank you,

Kim Hyoun-woo

Javascript doesn't have any support for preprocessor directives.

Edit: in Unity 2.6 anyway.

Javascript supports #if and #endif in Unity 3. The Unity Manual -> Advanced -> Platform Dependent Compilation talks about it. They could do more to explain it (like is #else supported).