최신 JavaScript-Developer-I 무료덤프 - Salesforce Certified JavaScript Developer I

Refer to the code below:

Considering that JavaScript is single-threaded, what is the output of line 08 after the code executes?

정답: B
A developer writes the code below to calculate the factorial of a given number function sum(number){ return number * sum(number-1);
}
sum(3);
what is the result of executing the code.

정답: C
Which code statement correctly retrieves and returns an object from localStorage?

정답: A
A developer needs to test this function:
01const sum3 = (arr) => (
02if (!arr.length) return 0,
03if (arr.length === 1) return arr[0],
04if (arr.length === 2) return arr[0]+ arr[1],
05 return arr[0] + arr[1] + arr[2],
06 );
Which two assert statements are valid tests for the function?
Choose 2 answers

정답: B,C
A team that works on a big project uses npm to deal with projects dependencies.
A developer added a dependency does not get downloaded when they execute npm install.
Which two reasons could be possible explanations for this?
Choose 2 answers

정답: A,C,D
Refer to the code below:

Line 05 causes an error.
What are the values of greeting and salutation once code completes?

정답: B
Refer to the following code:

Which statement should be added to line 09 for the code to display. The boat has a capacity of 10 people?

정답: B
Given the code below:
const delay = sync delay => {
Return new Promise((resolve, reject) => {
setTimeout (resolve,delay);});};
const callDelay =async () =>{
const yup =await delay(1000);
console.log(1);
What is logged to the console?

정답: C
Refer to the code declarations below:

Which three expressions return the string JavaScript?
Choose 3 answers

정답: A,C,D
Refer to code below:
Const objBook = {
Title: 'Javascript',
};
Object.preventExtensions(objBook);
Const newObjBook = objBook;
newObjectBook.author ='Robert';
What are the values of objBook and newObjBook respectively ?

정답: D
Refer to the following code:
<html lang="en">
<body>
<divonclick = "console.log('Outer message') ;">
<button id ="myButton">CLick me<button>
</div>
</body>
<script>
function displayMessage(ev) {
ev.stopPropagation();
console.log('Inner message.');
}
const elem = document.getElementById('myButton');
elem.addEventListener('click' , displayMessage);
</script>
</html>
What will the console show when the button is clicked?

정답: D
Refer to the string below:
const str = 'Salesforce';
Which two statements result in the word 'Sales'?
Choose 2 answers

정답: C,D

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기