JS-Dev-101 무료 덤프문제 온라인 액세스
| 시험코드: | JS-Dev-101 |
| 시험이름: | Salesforce Certified JavaScript Developer - Multiple Choice |
| 인증사: | Salesforce |
| 무료 덤프 문항수: | 149 |
| 업로드 날짜: | 2026-09-04 |
A developer is required to write a function that calculates the sum of elements in an array but is getting undefined every time the code is executed. The developer needs to find what is missing in the code below.
01 const sumFunction = arr => {
02 return arr.reduce((result, current) => {
03 //
04 result += current;
05 //
06 }, 10);
07 };
Which line replacement makes the code work as expected?
A developer creates a new web server that uses Node.js. It imports a server library that uses events and callbacks for handling server functionality. The server library is imported with require and is made available to the code by a variable named server. The developer wants to log any issues that the server has while booting up.
Which code logs an error at boot time with an event?
A developer is leading the creation of a new web server for their team that will fulfill API requests from an existing client. The team wants a web server that runs on Node.js, and they want to use the new web framework Minimalist.js. The lead developer wants to advocate for a more seasoned back-end framework that already has a community around it.
Which two frameworks could the lead developer advocate for?