From: kuno <neok...@gmail.com>
Date: Tue, 26 Jun 2012 10:35:26 -0700 (PDT)
Local: Tues, Jun 26 2012 1:35 pm
Subject: Re: Array mutating after scope change?
On Tuesday, June 26, 2012 8:34:46 PM UTC+8, Bradley Meck wrote: I agree, but since this is a private project of our company, I am afraid > It would be helpful to see some more code, for example, is `query` ever > On Tuesday, June 26, 2012 4:43:26 AM UTC-5, kuno wrote: >> This error occurs on node 0.6.19, not sure be fixed on 0.8 or not. >> suppose I have a nest function like this: >> query.startkey.push('report'); >> var keysCallback = function(result) { >> getResultFunction(args, keysCallback); >> <======================================= >> Object ["report",{}] has no method 'push' >> ========================================> >> Since it occurs inside the inner keysCallback, but query.startkey was >> But I am not a expert on v8, so this is just a suspection. I'd like to >> --thanks >> kuno I'm not allowed to show the real code. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||