참고: ITDumpsKR에서 Google Drive로 공유하는 무료 2026 Salesforce JS-Dev-101 시험 문제집이 있습니다: https://drive.google.com/open?id=1h2mHC2PyyGr2EYILCWg7_EKHaaspe_AQ
ITDumpsKR는Salesforce JS-Dev-101인증시험을 아주 쉽게 패스할 수 있도록 도와드리는 사이트입니다. ITDumpsKR의 엘리트한 전문가가 끈임 없는 노력으로 최고의Salesforce JS-Dev-101자료를 만들었습니다. 이 자료로 여러분은 100%Salesforce의JS-Dev-101인증시험을 패스할 수 있으며, ITDumpsKR을 선택함으로 성공을 선택한 것입니다. ITDumpsKR가 제공하는 시험가이드로 효과적인 학습으로 많은 분들이 모두 인증시험을 패스하였습니다. 이건 모두 ITDumpsKR 인증시험덤프로 공부하였기 때문입니다. 그 중Salesforce JS-Dev-101인증시험을 패스한 분들도 모두 ITDumpsKR인증시험덤프를 사용하였기 때문입니다.
| Certification Vendor: | Salesforce |
|---|---|
| Exam Name: | Salesforce Certified JavaScript Developer I - Multiple Choice Exam (JS-Dev-101) |
| Exam Number: | JS-Dev-101 |
| Exam Duration: | 105 minutes |
| Available Languages: | English |
| Certificate Validity Period: | 1 year (maintenance required annually in Salesforce certification program) |
| Exam Format: | Multiple Choice Questions, Multiple Select Questions |
| Related Certifications: | Salesforce Platform Developer I Salesforce Platform Developer II |
| Passing Score: | 65% |
| Real Exam Qty: | 60 (multiple choice) |
| Exam Price: | $200 USD |
| Recommended Training: | Salesforce Trailhead - JavaScript Developer I MDN Web Docs - JavaScript Guide |
| Exam Registration: | Salesforce Certification Registration Kryterion Webassessor (Exam Delivery) |
| Sample Questions: | Salesforce JS-Dev-101 Sample Questions |
| Exam Way: | Online proctored exam via Salesforce authorized testing platform (e.g., Webassessor) |
| Pre Condition: | No formal prerequisites, but familiarity with JavaScript and web development is recommended. |
| Official Syllabus URL: | https://trailhead.salesforce.com/credentials/javascriptdeveloper |
ITDumpsKR Salesforce JS-Dev-101 덤프는Salesforce JS-Dev-101실제시험 변화의 기반에서 스케줄에 따라 업데이트 합니다. 만일 테스트에 어떤 변화가 생긴다면 될수록 2일간의 근무일 안에Salesforce JS-Dev-101 덤프를 업데이트 하여 고객들이 테스트에 성공적으로 합격 할 수 있도록 업데이트 된 버전을 구매후 서비스로 제공해드립니다. 업데이트할수 없는 상황이라면 다른 적중율 좋은 덤프로 바꿔드리거나 덤프비용을 환불해드립니다.
| 주제 | 소개 |
|---|---|
| 주제 1 |
|
| 주제 2 |
|
| 주제 3 |
|
| 주제 4 |
|
질문 # 135
Refer to the code below:
01 const myFunction = arr => {
02 return arr.reduce((result, current) => {
03 return result + current;
04 }, 10);
05 }
What is the output of this function when called with an empty array?
정답:B
설명:
Comprehensive and Detailed Explanation From JavaScript Knowledge:
We call:
myFunction([]);
Inside:
arr.reduce((result, current) => {
return result + current;
}, 10);
Key points about Array.prototype.reduce:
Signature: array.reduce(callback, initialValue)
If initialValue is provided and the array is empty, reduce:
Does not call the callback at all.
Simply returns initialValue.
Here:
arr is [] (empty).
initialValue is 10.
So:
No iterations of the callback happen (no elements to process).
The return value is the initial value: 10.
So the actual output is:
myFunction([]) === 10;
Among the options:
A: 0 - incorrect, because the initial value is 10, not 0.
B: Throws an error - reduce throws only if the array is empty and there is no initialValue. Here we have an initial value, so no error.
C: NaN - there is no arithmetic with undefined or invalid values; we just return 10.
D: Returns 5 - the numeric value given is wrong; the correct value is 10.
Given the logic, the correct conceptual result is 10. The option text "Returns 5" is almost certainly a typo for "Returns 10". Since the letter that is intended to represent the correct behavior is D, we keep:
Study Guide / Concept Reference (no links):
Array.prototype.reduce behavior with initialValue
Behavior of reduce on an empty array with and without initialValue
Return value when no iterations run
________________________________________
질문 # 136
Refer to the code below:
01 new Promise((resolve, reject) => {
02 const fraction = Math.random();
03 if (fraction > 0.5) reject('fraction > 0.5, ' + fraction);
04 resolve(fraction);
05 })
06 .then(() => console.log('resolved'))
07 .catch((error) => console.error(error))
08 .finally(() => console.log('when am I called?'));
When does Promise.finally on line 08 get called?
정답:C
설명:
Comprehensive and Detailed Explanation From Exact Extract JavaScript knowledge:
Behavior of Promise.prototype.finally:
.finally(handler) registers a callback that runs when the promise is settled, meaning:
Either fulfilled (resolved), or
rejected.
Important points:
The finally callback does not receive the promise's value or error (unlike then and catch).
It is executed after the promise is settled, but before the resolution value or rejection reason is passed further down the chain.
It runs in both success and failure paths.
In the given code:
The promise may either:
Call reject('fraction > 0.5, ' + fraction) if fraction > 0.5, or
Call resolve(fraction) otherwise.
In both cases:
If it resolves, .then(() => console.log('resolved')) runs, and then .finally(...) is executed.
If it rejects, .catch((error) => console.error(error)) runs, and then .finally(...) is executed.
So .finally runs:
Not just "when rejected".
Not just "when resolved".
But whenever the promise is resolved or rejected.
Therefore, the correct choice is:
D . When resolved or rejected.
질문 # 137
The developer wants to test the array shown:
const arr = Array(5).fill(0)
Which two tests are the most accurate for this array ?
Choose 2 answers:
정답:B,C
질문 # 138
A class was written to represent items for purchase in an online store, and a second class representing items that are on sale at a discounted price. The constructor sets the name to the first value passed in. There is a new requirement for a developer to implement a description method that will return a brief description for Item and SaleItem.
01 let regItem = new Item('Scarf', 55);
02 let saleItem = new SaleItem('Shirt', 80, .1);
03 Item.prototype.description = function() { return 'This is a ' + this.name; }
04 console.log(regItem.description());
05 console.log(saleItem.description());
06
07 SaleItem.prototype.description = function() { return 'This is a discounted ' + this.name; } What is the output when executing the code above?
정답:C
설명:
Comprehensive and Detailed
Assuming SaleItem inherits from Item via prototype (e.g. SaleItem.prototype = Object.create(Item.prototype)):
Lines 01-02: create regItem and saleItem.
Line 03: define Item.prototype.description.
Now both regItem and saleItem (via inheritance) have a description method from Item.prototype.
Line 04: regItem.description() → 'This is a Scarf'.
Line 05: saleItem.description() → 'This is a Shirt' (same method, but this.name is 'Shirt').
Line 07: SaleItem.prototype.description = ... overrides description only for SaleItem instances going forward.
If we imagine calling regItem.description() and saleItem.description() again after line 07:
regItem.description() still uses Item.prototype.description → 'This is a Scarf'.
saleItem.description() now uses SaleItem.prototype.description → 'This is a discounted Shirt'.
Those four lines correspond to option B.
________________________________________
질문 # 139
Refer to the HTML below:
<div id="main">
<ul>
<li>Leo</li>
<li>Tony</li>
<li>Tiger</li>
</ul>
</div>
Which JavaScript statement results in changing "Leo" to "The Lion"?
정답:C
설명:
Comprehensive and Detailed Explanation From Exact Extract JavaScript Knowledge:
We want to select the first <li> under #main and change its content.
document.querySelector(selector) returns the first element matching the CSS selector.
In the DOM, the <li> elements under <ul> are children in order:
1st child: "Leo"
2nd child: "Tony"
3rd child: "Tiger"
li:nth-child(1) is the CSS pseudo-class that selects the first <li> inside its parent.
So:
document.querySelector('#main li:nth-child(1)').innerHTML = 'The Lion'; selects the first <li> ("Leo") inside #main and sets its innerHTML to "The Lion".
Why others are incorrect:
A . #main #Leo
There is no element with id "Leo". id is not set on the <li>, so the selector matches nothing.
B . li:second-child
There is no :second-child pseudo-class. The valid pseudo-class is :nth-child(2); and that would select "Tony", not "Leo".
C . '#main li,Leo'
This selector means "all #main li and all elements named <Leo>".
There is no <Leo> tag, and querySelectorAll returns a NodeList, which does not have a single innerHTML property.
Therefore, D is the correct statement.
Study Guide Concepts:
document.querySelector vs querySelectorAll
CSS selectors: nth-child()
DOM element innerHTML property
________________________________________
질문 # 140
......
JS-Dev-101최신 시험 예상문제모음: https://www.itdumpskr.com/JS-Dev-101-exam.html
ITDumpsKR JS-Dev-101 최신 PDF 버전 시험 문제집을 무료로 Google Drive에서 다운로드하세요: https://drive.google.com/open?id=1h2mHC2PyyGr2EYILCWg7_EKHaaspe_AQ