798 Views
Let me ask you a simple question. Which of the following code snippets will generate an error? The first one that creates an instance, then defines the used class: Or the second one that first invokes, then defines the function? The correct answer: the first snippet, the one with a class, generates a ReferenceError.
0 comments