Remove Duplicates & Return Unique List to Dropdown

Hello! Thanks for your quick reply and apologies if I miscommunicated what I am looking for. I’m hoping to better understand the fundamental error that is preventing the unique values from being passed to the dropdowns using the code above.

I get the following error in the console log when debugging:

mxl6m.js:115 Uncaught (in promise) TypeError: l.updateRecordList is not a function

In the script above it corresponds with the following line:

dropDownRecords.updateRecordlist(results.items);

updateRecordList is defined as a function in this statement:

 // Call this function to initialise the object data set and reset the column lists.
updateRecordList(recordList) {
 this.list = recordList;
 this.resetFieldLists();
}

Any ideas on what is going on to cause the console log error?