Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
james white
78,399 PointsFill-in-the-blank for the Node.js final quiz (the final set of three questions)
The link is:
Of course with the quiz being only three questions you HAVE TO
get all three questions right to pass
(both the quiz and the course!)
AAAARRRRGGGGHHHH!!!!
Here's the question that stumped me:
________________ is a global object we can access things like the current version of node and arguments passed in as a command line.
I thought it might be 'node', or maybe 'http', but I ended up on this node.js page (looking for a global object):
http://nodejs.org/api/globals.html
However, it was only after running through the questions dozens
(and DOZENS) of times that I noticed something in question two:
Quiz Question 2 of 3
The command line arguments can be accessed through which property on the
processobject?
Really?!
There's a process object?
Huh?!
Indeed there is:
http://nodejs.org/api/process.html
..and 'process.version' is:
"A compiled-in property that exposes NODE_VERSION. "
...per this this part (down aways) on the process page: http://nodejs.org/api/process.html#process_process_version
Of course this means the fill-in-the-blank answer is:
"Process"
..obviously..
Note: I was actually going for a more sarcastic emoji like
"rolls eyes":
..but it's not on the Markdown Emoji Cheatsheet: http://www.emoji-cheat-sheet.com/
Note: I only managed to pull in the rolls eyes emoticon from another programming forum via the special "Images" markdown codes shown on this Master Markdown Codes page: https://teamtreehouse.com/forum/howto-guide-markdown-within-posts
Anyway..hopefully this saves someone a lot of wasted time focusing a quiz question on something so relatively obscure...
Shaun Tsai
2,183 Pointsthank you for answering it, saved me a whole lot of time. :D
roses
5,585 Pointsbless you
Jeremy Tripp
6,871 PointsYep, this was an annoying one. Thanks for your research.
2 Answers
Brian van Vlymen
12,637 PointsThe "process" object is a global object and can be accessed from anywhere. It is an instance of EventEmitter.
nfs
35,526 PointsBlessings on you.

Jon Benson
12,168 PointsJon Benson
12,168 PointsThank you, I have been doing exactly the same!!! Ugh.