• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

Advanced JavaScript with correct answers 100% 2025

Document preview thumbnail
Preview 1 out of 2 pages

Advanced JavaScript with correct answers 100% 2025 Who created JavaScript? - Brendan Eich in 1995 What is hoisting? - Hoisting is the process of variable and function declarations being 'hoisted' or raised to the top of the containing scope before file execution. When are JavaScript files executed? - On page load, after the HTML & CSS is read Do all statements need to end with a semicolon? - No, but semicolon line termination is a good practice for code readability Are JavaScript statements executed in sequential order? - By default, yes What is a JavaScript keyword? - A protected keyword is a word/term in JavaScript that has a predefined meaning that cannot be used as a local identifier What JS feature is 1 + 2 == 3 ? ("Correct Math") : ("Incorrect Math") ? - Ternary (conditional) operator Is a primitive data type an object in Javascript? - No it is not, but once declared and assigned, Javascript will perform type coercion and wrap many types of primitive data in a corresponding object allowing you to use methods on them and manipulate them as if they were an object. What is optional chaining? - Optional chaining is the ability to try to return a property on an object that may or may not exist. In the case that it does not exist, it will return "undefined" instead of throwing an error. What are the points of access in a URL when using an API called? - Endpoints How is the data structured inside of an object? - It's structured into key value pairs, where the key is the information used to access a particular value. What is a Promise? - A Promise is an object that attempts to perform an action. If it's unsuccessful, it will invoke a "reject" function, otherwise it will

Content preview

Advanced JavaScript with correct
answers 100% 2025
Who created JavaScript? - Brendan Eich in 1995

What is hoisting? - Hoisting is the process of variable and function declarations being
'hoisted' or raised to the top of the containing scope before file execution.

When are JavaScript files executed? - On page load, after the HTML & CSS is read

Do all statements need to end with a semicolon? - No, but semicolon line termination is
a good practice for code readability

Are JavaScript statements executed in sequential order? - By default, yes

What is a JavaScript keyword? - A protected keyword is a word/term in JavaScript that
has a predefined meaning that cannot be used as a local identifier

What JS feature is 1 + 2 == 3 ? console.log("Correct Math") : console.log("Incorrect
Math") ? - Ternary (conditional) operator

Is a primitive data type an object in Javascript? - No it is not, but once declared and
assigned, Javascript will perform type coercion and wrap many types of primitive data in
a corresponding object allowing you to use methods on them and manipulate them as if
they were an object.

What is optional chaining? - Optional chaining is the ability to try to return a property on
an object that may or may not exist. In the case that it does not exist, it will return
"undefined" instead of throwing an error.

What are the points of access in a URL when using an API called? - Endpoints

How is the data structured inside of an object? - It's structured into key value pairs,
where the key is the information used to access a particular value.

What is a Promise? - A Promise is an object that attempts to perform an action. If it's
unsuccessful, it will invoke a "reject" function, otherwise it will invoke a "resolve" function
and return the succesful result's value.

What is the most common modern way to pull data from an API on the internet in
Javascript? - Using the fetch method

A ternary operator is alternative syntax for which other operator in Javascript? - If/Else

Document information

Uploaded on
November 1, 2025
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$9.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Wairimumburia
3.5
(2)
Sold
25
Followers
3
Items
2806
Last sold
6 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions