You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
I was writing some code and going crazy why for...in wasn't working
the second time. The behavior can be easily reproduced using the repl:
<pre><code>$ node
Type '.help' for options.
node> var c;
node> for (c in 'one\ntwo\n') { console.log(c); }
0
1
2
3
4
5
6
7
node> for (c in 'one\ntwo\n') { console.log(c); }
node>
</code></pre>
Is this normal behavior? I tested it in the firebug JS console and I
got the behavior I expected; 0..7 both times.
Micheil Smith
unread,
Jul 18, 2010, 7:16:48 PM7/18/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
I can confirm this. A file which exhibits this is attached, it eliminates any errors that may be in repl.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
This is definitely a v8 issue, not a node issue. Reproducible in the v8 shell sample program.
(Not broken in chrome, though, so it's apparently a new-ish bug.)
--i
Jérémy Lal
unread,
Jul 19, 2010, 8:59:29 AM7/19/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com, Isaac Schlueter
On 19/07/2010 02:00, Isaac Schlueter wrote: > This is definitely a v8 issue, not a node issue. Reproducible in the > v8 shell sample program. > > (Not broken in chrome, though, so it's apparently a new-ish bug.)