Why put methods on the prototype instead of creating them in the constructor?
The answer
Answer it out loud first, the way you would in the interview. Then compare.
Checking your sign-in…
Answer it out loud first, the way you would in the interview. Then compare.
Checking your sign-in…
New here? Ask where to start, what each guide covers, or how the interactive lessons work. Tuto answers and links you to the right page.
Your first 3 answers need no account. for free to keep asking.