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
Udostępnij
Udostępnij
autor:
Narmatovaaigeri
Edytuj elementy
Zapisz
Polub
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Test
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Zmień szablon
Pokaż wszystko
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?