Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

97
Vistas
Are these two ways of declaring functions the same in Javascript?
var sliderNav = function(manual){
   function body
}

vs

function sliderNav(manual){
    function body
}

Are these two ways just for declaring functions or is there something else going on here that I'm unaware of?

Since there are no return types here, can I assume they are related to return types in some other way maybe? (Since as per my knowledge, when assigning a function to a variable, we are primarily assigning to it what the function is returning.)

7 months 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 empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.