I am creating the following object:
var IOBreadcrumb = {
breadcrumbs: []
add: function(title, url){
var crumb = {title, url};
this.breadcrumbs.push(crumb);
}
};
I am getting an unexpected identifier error. Not really sure where it is coming from, its in this block of code.