I got this error when compile my project, could you please give me some advises?
I have attached my JS file, and my codes are very simple as bellow:
using (JavascriptContext context = new JavascriptContext())
{
context.SetParameter("window", new SystemConsole());
string spath = @"D:\Workshop\Noesis.Javascript v0.7 - Binaries\Sample\WindowsFormsApplication1\WindowsFormsApplication1\JS\sjcl.rsa.core.js";
sJs = System.IO.File.ReadAllText(spath);
context.Run(sJs);
}
Comments: ** Comment from web user: Viamo **
I have attached my JS file, and my codes are very simple as bellow:
using (JavascriptContext context = new JavascriptContext())
{
context.SetParameter("window", new SystemConsole());
string spath = @"D:\Workshop\Noesis.Javascript v0.7 - Binaries\Sample\WindowsFormsApplication1\WindowsFormsApplication1\JS\sjcl.rsa.core.js";
sJs = System.IO.File.ReadAllText(spath);
context.Run(sJs);
}
Comments: ** Comment from web user: Viamo **
This code also throw System.StackOverflowException
```
Object.prototype.Set = function(){};
```
And this
```
var a = {};
var b = {};
a.b = b;
b.a = a;
```
And this
```
var a = {};
a.a = a;
```