On 12 June 2013 15:05, Michael Schwartz <myk...@gmail.com> wrote:
> Inside the function, you have:
>
> for (i=1; i<6; i++) {
>
> Which sets a new property, i, on the global/window object.
>
> Using with, it would set the new property on the o object

So just generate 'o.i' instead of 'i' there. ;)

/Andreas

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to