Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: How to change the Global Object to another object?

0
0
Hello!

You can't replace the global object, but you can easily set up an alias that will satisfy the above code:
engine.Execute("window = this");
Please let us know if that doesn't work for you.

Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images