Groups
Sign in
Groups
nodejs
Conversations
About
Send feedback
Help
How do you do reflection with Node.js since "this" object is empty?
90 views
Skip to first unread message
Leo Cono
unread,
Feb 8, 2015, 10:34:11 PM
2/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
How do you do reflection with Node.js since "this" object is empty?
Ryan Schmidt
unread,
Feb 8, 2015, 10:49:48 PM
2/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
On Feb 8, 2015, at 9:34 PM, Leo Cono wrote:
> How do you do reflection with Node.js since "this" object is empty?
What do you mean by "reflection"? What are you expecting the "this" object to be?
Andrey
unread,
Feb 8, 2015, 10:51:54 PM
2/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
At top level "this" is a reference to exports object (and has nothing in common with global scope ):
https://github.com/joyent/node/blob/v0.12/lib/module.js#L460
Reply all
Reply to author
Forward
0 new messages