This project has moved and is read-only. For the latest updates, please go here.

Enable Experimental JavaScript

Oct 13, 2014 at 6:03 PM
I am looking to toy with javascript proxies how can I set v8 to enable experimental javascript?
Oct 13, 2014 at 7:38 PM

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!