Question 1 of 30
In a JavaScript function, you declare a variable using `var` inside a nested function. If you try to access this variable from an outer function before its declaration, what will be the output? Consider the following code snippet:
javascript
ction outerFunction() {
sole.log(innerVar); // What will this log?
ction innerFunction() {

Preparing for SalesForce Certified JavaScript Developer I Certified JavaScript Developer I? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free