Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

137
Vistas
How to find if key is present in JS object and return its value if present
Var list = [{"Language":"english","direction":"null"},{"Language":"French","direction":"RTL"},  {"Language":"ARABIC","direction":"RTL"}]

I need to find if english is there and if true return its direction.

I tried with the following code.

Object.keys(list).forEach(function(key){
if(list[key].hasOwnProperty("English")) return true
});

Can anyone tell how do we achieve this ?

over 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Asistente virtual