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

Quiz

Quiz - JavaScript

Vinoth Mahadevan 14 perguntas

Fazer o quiz

Perguntas do quiz (14)

  1. 1What does 500..toString()?
    1. A500
    2. BSyntaxError
    3. C5
    4. Dundefined
  2. 2(function(){
    var person = user = "vinoth";
    })();
    console.log(user);

    What will be the output?
    1. ATypeError user is not defined
    2. Bvinoth
    3. Ctrue
    4. Dundefined
  3. 3var person = {
    getName: function() { return this.name; },
    name: "vinoth"
    };
    (function(){
    return typeof arguments[0]();
    })(person.getName);
    1. Avinoth
    2. Bundefined
    3. Carray
    4. Dobject
  4. 4var f = (function person(){ return "vinoth"; }, function rollNo(){ return 200; })();
    console.log(f);
    1. Avinoth
    2. Bstring
    3. Cnumber
    4. D200
    5. ESyntax Error
  5. 5if(function(){}){
    console.log(typeof f);
    }
    1. ATypeError F is not defined
    2. BSyntax Error
    3. Cfunction
    4. Dundefined
  6. 6var x = [typeof f, typeof g][1];
    console.log(typeof typeof x);
    1. Aundefind
    2. Bnumber
    3. Cstring
    4. Dfunction
  7. 7(function f(){
    function user(){ return "vinoth"; }
    return user();
    function user(){ return "vijay"; }
    })();
    1. Avinoth
    2. Bvijay
    3. Cfunction
    4. Dundefined
  8. 8var user = 'vijay';
    (function() {
    alert(user);
    alert(person);
    var user = 'vinoth';
    function person(){}
    })();
    1. Aundefined, undefined
    2. Bundefined, function person(){}
    3. Cvinoth, function person(){}
    4. Dvinoth, undefined
  9. 9function User(name){
    this.name = name;
    }

    var usr = User("vinoth");
    console.log(usr);
    1. A[Object object]
    2. Bundefined
    3. Cvinoth
    4. Dstring
  10. 10window.user = "vinoth";

    var person = {
    user: "vijay",
    getName: function(){
    return this.user;
    }
    }

    var test = person.getName;
    console.log(test());
    1. Aundefined
    2. Bvijay
    3. Cvinoth
    4. DType Error: User is not defined

Informações

Descrição
Quiz sobre Quiz - JavaScript, criado por Vinoth Mahadevan em 24-05-2015.
Idioma
English
Visualizações
5
Etiquetas
javascript
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?