I want to build an address book.

After I added the memSearch(), the page cannot loaded in Chrome, and it said: Uncaught ReferenceError: allData is not defined.

But when I delete memSearch(),...