Point out the correct declaration of the height variable:, variable height;, let height;, height is variable;, height;, Review the code: let age = 32; age = age + 1; console.log(Age); Result?, 33, 32, Error: Age not defined, undefined, If a variable stores false, it is:, Math type, Unused, Logical type, Boolean type, Analyze the code: let x = 10 / 100; console.log(typeof(x)); Result?, number, 0.1, Error: Fractional ops, fraction, Operation: let x = 100 / 0; Result?, NaN, Infinity, 0, Undefined, Operation: let x = 20n + 10; Result?, 30n, 30, "20n10", Error, To get string length from msg:, msg.chars, msg.length, msg.length(), msg.charsAt(), Operation: let x = "abcdef".slice(2, 4); Result?, "cdefg", "ab", "cd", "cdef", Change dog age to 6:, dog.age = 6;, dog[age] = 6;, dog(age) = 6;, dog.age = 5;, Change "July" to 7 in array:, Not possible, summer[1] = 7;, summer.July = 7;, summer[0] = 7;.
0%
JavaScript Basics Quiz
Share
Share
Share
by
Kdyahya
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
AI Enhanced: This activity contains content generated by AI.
Learn more.
Switch template
Show all
More formats will appear as you play the activity.
)
Open results
Copy link
QR code
Delete
Continue editing:
?