re: Fictional Q&A about JavaScript Hoisting VIEW POST

TOP OF THREAD FULL DISCUSSION
re: That's a good question. For one, the concept of hoisting doesn't seem to be something people write their programs around. It's a convenient side-ef...
 

I was thinking in terms of assigning to variables, but thanks for pointing out those other ways of assigning. I don't normally think of it that way with prototype methods and callbacks, but that does make sense.

code of conduct - report abuse