function whatIsInAName(collection, source) {
// What's in a name?
var arr = [];
// Only change code below this line
return collection[2].hasOwnProperty(source);
// Only change code above this line
// return arr;
}
whatIsInAName([{ first: "Romeo", last: "Montague" }, { first: "Mercutio", last: null }, { first: "Tybalt", last: "Capulet" }], { last: "Capulet" });
:cookie: 236 | @gulptech |http://www.freecodecamp.com/gulptech
:cookie: 874 | @skycoder01 |http://www.freecodecamp.com/skycoder01
:warning: jordydew already gave fortmaximus points