DEV Community

Discussion on: Welcome Thread - v17

Collapse
 
ishantkrishna profile image
IshantKrishna

Hi Everyone,

I am Ishant Krishna from India. I have a doubt that brought me here. I hope I can ask it here.

Condition compilation for JavaScript in windows 10

I am working on a Script Editor control(using WPF). The language that is decided for editor is JavaScript. But based on requirement, the editor should not compile 'for' and 'while' loop. Is there any JavaScript compiler which can exclude compilation of few keywords on demand. Basically I expect compilation error on excluding keywords from compilation.

I have tried using JSC.exe( .NET framework JS compiler), but didn't work for me.

Regards,
Ishant