For the record, I would recommend not to enable --harmony by default.
There's a reason this flag exists: the features it enables are generally
not ready for prime-time yet. While some might be very close to what will
be enabled by default at some point, others may be crashy, buggy,
incomplete, or expected to change in behavior.

Generally, neither V8 embedders nor JavaScript developers should rely on
things that are off by default.


On Wed, Mar 26, 2014 at 8:31 AM, Ben Noordhuis <[email protected]> wrote:

> On Wed, Mar 26, 2014 at 1:11 AM, Kevin Ingwersen
> <[email protected]> wrote:
> > How do I make v8 always behave as it was opened with --harmony as a
> command line parameter?
>
> V8::SetFlagsFromCommandLine(&argc, argv, true);
> V8::SetFlagsFromString("--harmony", sizeof("--harmony") - 1);
> V8::Initialize();
>
> HTH.
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to