src/public/js/object_functions.js
// Converts the country to a select option
Converts the country to a select option
Converts the country to a select option
toSelectOption() {
        const option = document.createElement("option");
        option.value = this.id;
        option.text = this.name;
        return option;
    }
toSelectOption ( ) { const option = document . createElement ( "option" ) ; option . value = this . id ; option . text = this . name ; return option ; }
Converts the country to a select option
Converts the country to a select option