Check Your Subroutines - We are delivering our latest release to internal test today. Had a code review yesterday. Many issues were found. We are fixing the highest priority probl...
My instructor told me to play with some code to figure this stuff out. Normally that is good advice. But the whole point of me taking this class was that someone in the know could guide me. Looks like I am out of luck on that front. So I define a function that is a constructor. Then I create an instance of that object using the new() keyword which invokes the constructor. I try to print out the prototype of my new object. Nothing is there. WTF?
I would have though that an object I created without any explicit prototype settings would have a prototype of Object. Does not look like that is the case. I need to find a mentor. Or I could buckle down and stufy up. Sometimes you just got to make do yourself.