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
Share
Share
by
Narmatovaaigeri
I-edit ang Content
Save
Like
I-Print kini
Embed
Uban pa
Assignments
Leaderboard
Show more
Show less
Kini nga leaderboard naka-pribado. Pag-klik sa
Share
aron himuon kini nga publiko.
Kini nga leaderboard gi-disable sa tag-iya sa resource.
Kini nga leaderboard gi-disable tungod ang imong mga kapilian lahi ra sa tag-iya sa resource.
I-revert ang mga Kapilian
Ang
Quiz
usa ka open-ended nga template. Dili kini makamugna ug mga marka sa leaderboard.
Kinahanglan mag log in
Visual style
Fonts
Subscription required
Mga Option
I-switch ang template
Ipakita tanan
Open results
Copy link
QR code
Mag-delete
I-restore ang gi-autosave:
?