joyent/node — pull request #3094 by mgolawala (2012-04-12 08:30:41+00:00)
Title: Adding a cross platform EOL member to the os module.

Using something like this in your code is considered good practice when writing cross platform code. Also, it makes it easy to support new platforms (eg. sunos).

Hope you agree.