Know thyself


#1

I give the object a name value:
var myObj = {
name: "dave"

}
bout says thqat Im missing a "}"


#2

Well... have you tried refreshing first?


#3

Also check if semicolon is missing or not


#4

It works to me:

var myObj = {
name: "dave"
}
console.log( myObj.hasOwnProperty('name') ); // should print true
console.log( myObj.hasOwnProperty('nickname') ); // should print false


#6