JavaScript Developer I

Salesforce Certified JavaScript Developer I

Variables Types CollectionsEnglish
Exam overview

Practice session

What is the output of the following code? ```js var x = 1; function foo() { console.log(x); var x = 2; } foo(); ```

Loading your practice session…