Testing Objects for Properties Syntax Error

Tell us what’s happening:
I get this error for the last part of the code
"SyntaxError: unknown: Unexpected token (19:18)
17 |
18 | // Test your code by modifying these values

19 | checkObj(“house”);"
I’ve changed the value and it didn’t fix it, I’m not sure what to do.

Your code so far

// Setup
var myObj = {
  gift: "pony",
  pet: "kitten",
  bed: "sleigh"

function checkObj(checkProp) {
  // Your Code Here
   if (myObj.hasOwnProperty(checkProp) == true) {
    return myObj[checkProp];
  else {
  return "Not Found";

// Test your code by modifying these values

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36.

Link to the challenge:

Your checkObj function doesn’t have a closing brace.

Ah, thank you, so simple.

“Unexpected token” often means that you forgot to close something (quotes, parentheses, brackets, braces, etc).