diff --git a/django/views/templates/i18n_catalog.js b/django/views/templates/i18n_catalog.js index 33dddf0c0a..83ce7111d3 100644 --- a/django/views/templates/i18n_catalog.js +++ b/django/views/templates/i18n_catalog.js @@ -36,7 +36,7 @@ } // if value in catalog is an array and index is present, return the array index if exists - if (value && value.constructor === Array && index != undefined) { + if (value && value.constructor === Array && index !== undefined) { const text = value[index]; if (typeof text === 'string' && text) {