JavaScript-Developer-I 무료 덤프문제 온라인 액세스
| 시험코드: | JavaScript-Developer-I |
| 시험이름: | Salesforce Certified JavaScript Developer (JS-Dev-101) |
| 인증사: | Salesforce |
| 무료 덤프 문항수: | 149 |
| 업로드 날짜: | 2026-11-28 |
Given the code below:
01 setCurrentUrl();
02 console.log( " The current URL is: " + url);
03
04 function setCurrentUrl() {
05 url = window.location.href;
06 }
What happens when the code executes?
Refer to the code below:
class Student {
constructor(name) {
this._name = name;
}
displayGrade() {
console.log(`${this._name} got 70% on test.`);
}
}
class GraduateStudent extends Student {
constructor(name) {
super(name);
this._name = " Graduate Student " + name;
}
displayGrade() {
console.log(`${this._name} got 100% on test.`);
}
}
let student = new GraduateStudent( " Jane " );
student.displayGrade();
What is the console output?
A developer is setting up a Node.js server and is creating a script at the root of the source code, index.js, that will start the server when executed. The developer declares a variable that needs the folder location that the code executes from.
Which global variable can be used in the script?
Given the following code:
01 let x = null;
02 console.log(typeof x);
What is the output of line 02?