On 22 April 2014 18:54, SimonHF <[email protected]> wrote: > For example, I can get a uint like this in a C++ function: uint32_t myuint32 > = args[0]->Int32Value(); > > But is it also possible to change the value somehow from C++ land, so that > in javascript the variable passed into the function will reflect the changed > value?
You don't pass "variables" in JavaScript, you pass values. Consequently, you cannot mutate arguments the way you suggest. (If those values happen to be mutable objects, then you can of course mutate those, but that has nothing to do with parameter semantics.) /Andreas -- -- 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.
