3 ms·
Thanks, and both are helpful. I was originally going for framework agnostic because I'm still trying to answer some basic questions about JS (below, just for th
by backslash_16 11y ago
Thanks, and both are helpful. I was originally going for framework agnostic because I'm still trying to answer some basic questions about JS (below, just for the sake of completeness) but I'm starting to think using AngularJS or EmberJS for an organized start will be good then I can try and generalize what I know.
Kind of like using Rails or ASP.NET MVC to learn MVC then branching out.
Some things I'm looking for examples in code instead of just blog posts are:
1 - When does someone attach a method to an object's prototype vs directly
2 - When do people use object literals vs defining a constructor
3 - How bind and apply are actually used to change the this binding
Thanks again!