IT認証試験問題集
毎月、GOWUKAKUは1500人以上の受験者が試験準備を助けて、試験に合格するために受験者にご協力します
 ホームページ / Salesforce Certified JavaScript Developer 問題集  / Salesforce Certified JavaScript Developer 問題練習

Salesforce Salesforce Certified JavaScript Developer 問題練習

Salesforce Certified JavaScript Developer 試験

最新更新時間: 2026/09/21

【秋学習応援セール|10月限定キャンペーン】:Salesforce Certified JavaScript Developer 最新真題を買う時、日本語版と英語版両方を同時に獲得できます。

実際の問題集を練習し、試験のポイントを了解し、テストに申し込むするかどうかを決めることができます。

さらに試験準備時間の35%を節約するには、Salesforce Certified JavaScript Developer 問題集を使用してください。

 / 6

Question No : 1
Given the code below:
const copy = JSON.stringify([ newString(‘ false ’), new Bollean( false ), undefined ]);
What is the value of copy?

正解:

Question No : 2
Which code statement below correctly persists an objects in local Storage?



正解:

Question No : 3
Refer to the following code:
function test (val) {
If (val === undefined) {
return ‘Undefined values!’ ;
}
if (val === null) {
return ‘Null value! ’;
}
return val;
}
Let x;
test(x);
What is returned by the function call on line 13?

正解:

Question No : 4
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.
Given the code and the information the developer has, which code logs an error at boost with an event?

正解:

Question No : 5
Refer to the following code that imports a module named utils:
import (foo, bar) from ‘/path/Utils.js’;
foo() ;
bar() ;
Which two implementations of Utils.js export foo and bar such that the code above runs without error? Choose 2 answers

正解:

Question No : 6
What is the result of the code block?

正解:

Question No : 7
Refer to the code below:
letsayHello = () => {
console.log (‘Hello, world!’);
};
Which code executes say Hello once, two minutes from now?

正解:

Question No : 8
A developer has the function, shown below, that is called when a page loads.
function onload() {
console.log(“Page has loaded!”);
}
Where can the developer see the log statement after loading the page in the browser?

正解:

Question No : 9
The developer has a function that prints “Hello” to an input name.
To test this,thedeveloper created a function that returns “World”. However the following snippet does not print “Hello World”.



What can the developer do to change the code to print “Hello World”?

正解:

Question No : 10
A developer has code that calculates a restaurant bill, but generates incorrect answers while testing the code:
function calculateBill (items) {
let total = 0;
total += findSubTotal(items);
total += addTax(total);
total += addTip(total);
return total;
}
Which option allows the developer to step into each function execution within calculateBill?

正解:

Question No : 11
A developer wrote a fizzbuzz function that when passed in a number, returns the following:
● ‘Fizz’ if the number is divisible by 3.
● ‘Buzz’ if the number is divisible by 5.
● ‘Fizzbuzz’ if the number is divisible by both 3 and 5.
● Empty string if the number is divisible by neither 3 or 5.
Which two test cases will properly test scenarios for the fizzbuzz function? Choose 2 answers

正解:

Question No : 12
Considering type coercion, what does the following expression evaluate to?
True + ‘13’ + NaN

正解:

Question No : 13
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 “ Tony” to “Mr. T.”?

正解:

Question No : 14
Which two code snippets show working examples of a recursive function? Choose 2 answers

正解:

Question No : 15
developer removes the HTML class attribute from the checkout button, so now it is simply:
<button>Checkout</button>.
There is a test to verify the existence of the checkout button, however it looks fora button with class= “blue”. The test fails because no such button is found.
Which type of test category describes this test?

正解:

 / 6