filter
пропускает элементы, для которых обратный вызов возвращает false
. Просто посмотрите, есть ли у вас проблемный ключ, и верните логическое значение.
_self.verses = _self.verses.filter(verse => {
// We don't need foreach here, we just need the first key
var keyWithoutTranslation = Object.keys(verse).find(function(key) {
return !_self.recieved_translation.includes(key);
});
// Now the filter will do the rest
return keyWithoutTranslation === undefined;
});