This course will be retired on August 10, 2021. We recommend "REST APIs with Express" for up-to-date content.
In this lesson we will write the two schemas that will be responsible for creating our MongoDB documents.
Blog series about Modelling one-to-many (AKA parent-child) relationships in MongoDB:
6 Rules of Thumb for MongoDB Schema Design, By William Zola, Lead Technical Support Engineer at MongoDB: Part 1
MDN page detailing Array.prototype.sort
Also, studying source code is a great way to learn! Here's jQuery's implementation of $.extend.
Skip down to line 124 (the line may move, so you can also use the browser's find in page and type in 'extend' to see where it is defined
(jQuery.extend = …).
You need to sign up for Treehouse in order to download course files.Sign up