Code Segment: customSearch.js

In our JavaScript segment we can see the deleteAccount()
function initiated from the user (HTML). Inside of this function is the call to
deleteRecord() which we imported from the
lightning/uiRecordApi module.