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

110
Vistas
JavaScript arrays - original array modification vs new array creating methods

is there a rule which explains why some methods are modifying original arrays (like splice, push, etc) and other creates new array (like slice, map, concat, etc)?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Nope, there is no rule specifying which array methods will modify the callee array or which will return a new array.

They are simple functions, having their own behavior, you just have to remember their behaviors and you always have the web to lookup stuff.

about 4 years ago · Juan Pablo Isaza Denunciar
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
Recomiéndame algunas ofertas
Necesito ayuda