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
Dela
Dela
av
Narmatovaaigeri
Redigera innehåll
Spara
Gilla
Skriv ut
Bädda in
Mer
Uppdrag
Rankningslista
Visa mer
Visa mindre
Denna topplista är för närvarande privat. Klicka på
dela
för att göra den offentlig.
Denna topplista har inaktiverats av resursägaren.
Denna topplista är inaktiverad eftersom att alternativen är olika för resursägarna.
Återgå alternativ
Test
är en öppen mall. Det genererar inte noter för en poänglista.
Inloggning krävs
Visuell stil
Teckensnitt
Prenumeration krävs
Alternativ
Växla mall
Visa alla
Öppna resultat
Kopiera länk
QR-kod
Ta bort
Återställ sparas automatiskt:
?