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

Quiz

Closures

Rimika Chaudhury 5 perguntas

Fazer o quiz

Perguntas do quiz (5)

  1. 1What are closures?
    1. AClosures are functions
    2. BClosures are easier said than done
    3. CClosure is an abstract and elusive concept
    4. DClosure is what you get on new year's eve
    5. EClosure is putting things in a box and packing it up
  2. 2the output of the code in case of closures:

    var me = 'Bruce Wayne'
    function greetMe() {
    console.log('Hello, ' + me + '!')}

    greetMe()
    1. AHello, me!
    2. BHello, Bruce Wayne!
    3. CHello, Batman!
    4. DHello, Dark Knight!
    5. EFatal Error
  3. 3The output of the code in case of non-closures:
    var me = 'Bruce Wayne'
    function greetMe() {
    console.log('Hello, ' + me + '!')}

    greetMe()
    1. AHello, Batman!
    2. BHello, Jarvis!
    3. CHello, undefined!
    4. DHello, Joker!
    5. Efunction greetMe() {
      console.log('Hello, ' + me + '!')}
      }
  4. 4The output of the code in JS:
    var me = 'Bruce Wayne'
    function greetMe() {
    console.log('Hello, ' + me + '!')}
    me = 'Batman'

    greetMe()
    1. Aundefined
    2. BHello, Batman!
    3. CHello, undefined!
    4. DHello, NULL!
    5. EHello, Bruce Wayne!
  5. 5A language without the support of closures would need one of these:
    1. Adestructuring
    2. Bdata object or a request object
    3. Cpolite words
    4. Da data structure like arguments
    5. Elinked lists

Informações

Descrição
Quiz sobre Closures, criado por Rimika Chaudhury em 18-06-2018.
Idioma
English
Visualizações
0
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?