¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

js

vernona pit 46 preguntas

Hacer el test

Preguntas del test (46)

  1. 1Please select all correct variants of connection the external JavaScript file:
    1. A<link rel="stylesheet" href="script.js">
    2. B<script src="script.js"></script>
    3. C<script defer src="script.js"></script>
    4. D<script></script>
  2. 2Select all correct variants of variable declaration:
    1. Avar t = 'Hello))';
    2. Blet _c = document.body;
    3. Cvar 1c = 56;
    4. Dlet $ = true;
    5. Elet obj = {};
  3. 3Is the statement "JS is a dynamically typed language" true?
    1. AVerdadero
    2. BFalso
  4. 4Which data type is better to use to create unique values?
    1. ANumber
    2. BBigInt
    3. CSymbol
    4. DString
  5. 5What statement is correct to create a variable of BigInt type?
    1. Alet a = 123;
    2. Blet a = 123n;
    3. Clet a = '123n';
    4. Dlet a = BigInt(123);
  6. 6What is the result of executing the typeof operator in the below code?

    let myVar;
    typeof myVar;
    1. Anull
    2. Bundefined
    3. C"undefined"
    4. D"null"
  7. 7Choose the right variant for accessing an object property:
    1. Astudent.name;
    2. Bstudent->name
    3. Cstudent[name]
    4. Dstudent["name"]
  8. 8How does the data type in JS affect the variable?
    1. ADefines a range of valid values
    2. BDefines a set of operations on a variable
    3. CAllows to check the type of a variable during the code compilation time
    4. DSpecifies how a variable is stored in memory
  9. 9What is output of the code below?
    console.log(null==undefined)
    1. AVerdadero
    2. BFalso
  10. 10What outputs to the console after executing the code?

    let a = "75";
    let b = "75a";
    console.log(Number(a));

    console.log(Number(b));
    1. A75 75
    2. BNaN NaN
    3. C75 ReferenceError
    4. D75 NaN

Información

Descripción
Test sobre js, creado por vernona pit el 28/08/2022.
Idioma
English
Visitas
1
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?