Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion process.mixin
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
inimino  
View profile  
 More options Mar 15 2010, 4:38 pm
From: inimino <inim...@inimino.org>
Date: Mon, 15 Mar 2010 14:38:34 -0600
Local: Mon, Mar 15 2010 4:38 pm
Subject: Re: [nodejs] Re: process.mixin
On 2010-03-15 13:47, Tim Caswell wrote:

> A normal for..in on the object if sufficient, we control the
> code so there is no need for the hasOwnProperty check.

People may want to use this on objects that have custom
prototype objects (i.e. objects that are instances of at least
one constructor other than Object), so the hasOwnProperty test
is a good idea if you're not trying to copy properties of a
user-created prototype object.

--
http://inimino.org/~inimino/blog/


 
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.