) {
            const container = document.getElementById('valuesContainer');
            container.innerHTML = '';
            
            values.forEach((value, index) => {
                const div = document.createElement('div');
                div.className = 'array-input';
                div.innerHTML = `
                    <input type="text" value="${value}" onchange="updateValue(${index}, this.value)">
                    <button type="button" class="btn btn-danger btn-small" onclick="removeValu