On 24/06/2012, at 04:09, Ben Noordhuis wrote:
> On Sun, Jun 24, 2012 at 3:52 AM, Isaac Schlueter <[email protected]> wrote:
>> If we are going to present something that is not an Object interface,
>> then that's another conversation. (I'd be open to
>> process.getEnvKeys() -> Array<String>, process.getEnv(key) -> String,
>> and process.putEnv(key, var, clobber=true) -> Boolean.)
>
> God, that's horrible. My eyes, they're bleeding!
LOL.
@izs: please forget that!
Most people already know how to do it: ({}).hasOwnProperty.call(process.env,
"property");
To those who don't: this is yet another lovely JS WTF!
--
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