What is the meaning of having the "return" keyword in the getJSON function?
I see that the getJSON function is written to return callback(data) if the get request is a success. I've noticed that even if you leave out the return keyword, and just have the function call callback(data) instead of return it, the resulting behavior is the same. I'm looking at the code and trying to understand what the meaning of returning the callback function is, but I can't quite wrap my head around it.
Thanks for the clarification Reggie. I hadn't noticed the Teacher's Notes on this video, but I will make sure to double check that next time I'm having a problem understanding something. Cheers!