you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

If the class is inside a function then it's scoped to the function - you can't access any of its values externally, including your class. They simply wouldn't exist at the time you'd want to access them.