Haha ;)

On Wednesday, March 21, 2012 11:07:05 AM UTC-4, Jorge wrote:
>
> Yes, time keeps flowing like a river... :-P
> -- 
> Jorge.
>
> On Mar 21, 2012, at 3:19 PM, Dave Clements wrote:
>
> > Are you sure this isn't just a time discrepency between first date and 
> second date?
> > 
> > node << EOF
> >  while(1) {
> >  if (Date.now() === Date.now()) {
> >     process.stdout.write('.');
> >  }
> >    else {
> >      console.log('fail');
> >      break;
> >    }
> >  }
> >  EOF
> > 
> .........................................................................................................................................................................................................................................................................................................................................................................................fail
> > 
> > 
> > 
> > 
> > 
> > On Wednesday, 21 March 2012 12:47:37 UTC, Jorge wrote:
> > On Mar 20, 2012, at 6:08 PM, mscdex wrote:
> > > On Mar 20, 10:20 am, Dale Tan <[email protected]> wrote:
> > >> var date = +new Date()
> > > 
> > > or `Date.now()` :-)
> > Q: Is `Date.now()` equal to `+new Date()` ?
> > A: Not always.
> > 
> > node << EOF
> > while (1) {
> >   if (+new Date() === Date.now()) {
> >     process.stdout.write('.');
> >   }
> >   else {
> >     console.log("FAIL!");
> >     break;
> >   }
> > }
> > EOF
> > 
> > -> ...FAIL!
> > 
> > Things of the time.
> > 
> > :-P
> > -- 
> > Jorge.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to