Which keyword is used to declare a variable that cannot be reassigned?, var, let, const, static, What is the output of the following code? console.log(typeof "Hello");, text, Object, String, string, Which symbol is used for strict equality in JavaScript?, =, ==, ===, !=, What is the correct way to write a function?, function myFunction() {}, create myFunction() {}, def myFunction() {}, func myFunction() {}, What is the result of this expression? 2 + "2", 4, "22", undefined, NaN, Which method adds a new element to the end of an array?, push(), pop(), shift(), add(), What does the pop() method do?, Adds an element to the beginning of an array, Removes the last element of an array, Removes the first element of an array, Sorts an array, Which loop is commonly used to iterate over the values of an array?, for...in, for...of, repeat...until, loop...each, What is the output?let x = 10;if (x > 5) { console.log("Yes");} else { console.log("No");}, No, Yes, true, An error, Which operator means “OR” in JavaScript?, &&, ||, !, ??, What is the purpose of JSON.parse()?, Converts a JavaScript object into a JSON string, Converts a JSON string into a JavaScript object, Deletes JSON data, Creates an array, Which method converts a JavaScript object into a JSON string?, JSON.convert(), JSON.parse(), JSON.stringify(), JSON.object(), What is the output? console.log([1, 2, 3].length);, 2, 3, 4, undefined, Which keyword is used to handle errors?, try...catch, check...error, error...handle, test...catch, What does document.getElementById() do?, Creates a new HTML element, Selects an HTML element by its ID, Deletes an HTML element, Changes the page title
0%
JavaScript
Jaa
Jaa
tekijä
Narmatovaaigeri
Muokkaa sisältöä
Tallenna
Tykkää
Tulosta
Upota
Lisää
Tehtäviä
Tulostaulu
Näytä enemmän
Näytä vähemmän
Tämä tulostaulu on tällä hetkellä yksityinen. Jos haluat tehdä siitä julkisen, valitse
Jaa
.
Tehtävän omistaja on poistanut tämän tulostaulun käytöstä.
Tämä tulostaulu on poistettu käytöstä, koska vaihtoehdot eroavat tehtävän omistajan vaihtoehtoista.
Palauta Optiot
Monivalinta
on avoin malli. Se ei luo tulostaululle pisteitä.
SIsäänkirjautuminen vaaditaan
Visuaalinen tyyli
Fontit
Tilaus vaaditaan
Vaihtoehdot
Vaihda mallia
Näytä kaikki
Avoimet tulokset
Kopioi linkki
QR-koodi
Poista
Säilytetäänkö automaattisesti tallennettu tehtävä
?