(Werbung, bitte nicht blockieren.)

Quizze » Zahlen (Grundlagen)

1. Alle Zahlen in JavaScript sind Doubles

Wie viele Bits haben Doubles?

2. Zahlenliterale

const x = 0x10;

3. Zahlenliterale

const x = 0b10;

4. Zahlenliterale

const x = 4e2;

5. Zahlenliterale

const x = 4e-2;

6. Zugriff auf Eigenschaften

const x = 123.unknownProperty;

Was passiert?

7. Präfix-Inkrementierungsoperator

let x = 0;
const result = [++x, x];

Was passiert?

8. Postfix-Inkrementierungsoperator

let x = 0;
const result = [x++, x];

Was passiert?

9. Konvertierung zu Zahl

10. Konvertierung zu Zahl

11. Konvertierung zu Zahl

12. Konvertierung zu Zahl

13. Konvertierung zu Zahl

14. Konvertierung zu Zahl

15. Welche dieser Ausdrücke sind true?


Richtige Antworten0von0