11 lines
200 B
JavaScript
11 lines
200 B
JavaScript
|
function Song(title) {
|
||
|
this.title = title
|
||
|
}
|
||
|
|
||
|
Song.prototype.persistFavoriteStatus = function(value) {
|
||
|
// something complicated
|
||
|
throw new Error("not yet implemented");
|
||
|
};
|
||
|
|
||
|
module.exports = Song;
|