const array = [ { id: 1, lenguaje: 'javascript' }, { id: 2, lenguaje: 'typescript' } ]; console.log(array.some(data => data.lenguaje === 'javascript')); // expected output: true
Aventuras tecnológicas y emprendiendo
const array = [ { id: 1, lenguaje: 'javascript' }, { id: 2, lenguaje: 'typescript' } ]; console.log(array.some(data => data.lenguaje === 'javascript')); // expected output: true