Help! Parsing Error: Unexpected Token }

I am Having trouble understanding what the problem is. Here’s my code:

I copied the reply from Heath H-M (Wix Code Extracts) into Notepad++ and formatted it to make it easier to see the structure of the JavaScript:

export function iTitle_keyPress(event, $w) {
  let searchValue = $w('#iTitle').value;
  $w('#dataset1').setFilter(
    wixData
      .filter()
      .contains('title', searchValue);
  )
}

In addition, I moved the single quote after ‘searchValue’ above to just after ‘title’ (cf. WixDataFilter - Velo API Reference - Wix.com).

Thank you for the replies. Although the problems have gone away, the function of the code isn’t working. I am trying to make a search bar for my database with that code and it is not working. Any Suggestions?