O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Functions

Lucas Bastos Javascript Técnico Português 7 flashcards

Flashcards do conjunto (7)

  1. 1What are functions useful for?Organize and reuse blocks of code
  2. 2How do you invoke a function?By calling its name followed by parentheses () and including an argument (if needed)
  3. 3What are anonymous functions?Functions that doesn't have a name. Generally, anonymous functions are declared inside blocks of code, such as conditions or as arguments to other functions
  4. 4What is function scope?It's the block of code defined by a function enclosed in curly braces {}. Variables or functions declared within this scope can only be acessed from inside the function
  5. 5What are return values?Values that a function produces and sends back when it finishes executing
  6. 6What are arrow functions?Anonymous functions declared without name. They use the syntax () => to define the function
  7. 7What is the difference between a function declaration and a function expression?A function declaraction can be called globally. A function expression is created only when the script reaches the block of code where it is defined, so it can't be called before that point.

Informações

Descrição
Técnico Javascript FlashCards sobre Functions, criado por Lucas Bastos em 20-10-2024.
Criado por
Lucas Bastos
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?