logo

Crowdly

Browser

Add to Chrome

WMC - Webprogrammierung und Mobile Computing - 2BHIF - SJ2425

Looking for WMC - Webprogrammierung und Mobile Computing - 2BHIF - SJ2425 test answers and solutions? Browse our comprehensive collection of verified answers for WMC - Webprogrammierung und Mobile Computing - 2BHIF - SJ2425 at moodle.spengergasse.at.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Welcher der folgenden Codeschnipsel zeigt die korrekte Verwendung von fetch() mit .then() gemäß der bereitgestellten Dokumentation?

Code A:

fetch('https://api.example.com/data'

)

.then(response => {

if (!response.ok) {

throw new Error('Netzwerkantwort war nicht ok');

}

return response.

json

();

})

.then(data => {

console.log(data);

})

.catch(error => {

console.error('Fehler:', error);

});

Code B:

fetch('https://api.example.com/data'

)

.then(data => {

console.log(data);

})

.catch(error => {

console.error('Fehler:', error);

});

0%
0%
View this question

Welche der folgenden Codebeispiele verwendet die Fetch-API korrekt, um Daten von einer URL abzurufen?

0%
0%
0%
View this question

Gegeben ist folgendes Objekt in JavaScript:

const

user = {

username:

"klappstuhl"

,

password:

"1234"

};

Welche Aussage ist korrekt im Kontext der Konvertierung zu JSON?

0%
0%
0%
0%
33%
View this question

The selected theme dark should be set in the local storage

0%
73%
100%
View this question
View this question

...

0%
0%
0%
0%
View this question

...

0%
100%
100%
0%
View this question

Was ist die grundlegende Funktion des Schlüsselworts "let" in JavaScript?

0%
0%
33%
0%
67%
View this question

Welche der folgenden Methoden können verwendet werden, um Daten in JavaScript auszugeben?

100%
0%
0%
100%
View this question

Wie lautet die Ausgabe, wenn statt diesem code ein Präinkrement ++x verwendet wird?

...

View this question

Want instant access to all verified answers on moodle.spengergasse.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome