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

New Post: Enable Experimental JavaScript

0
0
Hello!

You'd have to make a small source code change and rebuild ClearScript.

For example, adding the following lines at the top of the V8IsolateImpl constructor should enable JavaScript proxies:
std::string flags("--harmony-proxies");
V8::SetFlagsFromString(flags.c_str(), static_cast<int>(flags.length()));
Good luck!

Viewing all articles
Browse latest Browse all 2297