/*you must write {model: song} by the way. You CANNOT use a different word*/
const AppView = Backbone.View.extend({
el: $("#content"),
initialize: function()
{
console.log(this.model.models[0].get("name"));
this.$el.html("this.model.get('name')");
}
});
const song = new Song();
const songs = new Songs();
songs.add(song);
const appView = new AppView({model: songs});