Quote (BreakPoint @ Jun 16 2012 07:04am)
This is really easy to read. What's so hard to understand?
1. Function is defined with parameter p.
2. If p is null, then return an error.
3. Create a new variable called that is the data type for the variable p.
4. If t's value isn't "object" and "function", then return an error.
5. Define a new function f with no parameters and no code on the inside.
6. I don't really know what prototype does, but from the context I assume it makes f inherit p.
7. Return the function f.
thats it thanks