2022年最新の保証された成功できるCRT-600問題集でSalesforceのPDF問題
格別な練習Salesforce Certified JavaScript Developer I問題集で最速合格させます
質問 65
Refer to the code below:
01 const server = require('server');
02 /* Insert code here */
A developer imports a library that creates a web server. The imported library uses events and callbacks to start the servers Which code should be inserted at the line 03 to set up an event and start the web server ?
- A. Server.start ();
- B. server.on(' connect ' , ( port) => {
console.log('Listening on ' , port) ;}) - C. server()
- D. console.log( 'Listening on ', port) ;
- E. serve(( port) => (
正解: B
質問 66
Refer to the following code:
Let obj ={
Foo: 1,
Bar: 2
}
Let output =[],
for(let something in obj{
output.push(something);
}
console.log(output);
What is the output line 11?
- A. ["foo","bar"]
- B. ["foo:1","bar:2"]
- C. [1,2]
- D. ["bar","foo"]
正解: A
質問 67
A developer wants to iterate through an array of objects and count the objects and count the objects whose property value, name, starts with the letter N.
Const arrObj = [{"name" : "Zach"} , {"name" : "Kate"},{"name" : "Alise"},{"name" : "Bob"},{"name" :
"Natham"},{"name" : "nathaniel"}
Refer to the code snippet below:
01 arrObj.reduce(( acc, curr) => {
02 //missing line 02
02 //missing line 03
04 ). 0);
Which missing lines 02 and 03 return the correct count?
- A. Const sum = curr.startsWith('N') ? 1: 0;
Return acc +sum - B. Const sum = curr.startsWIth('N') ? 1: 0;
Return curr+ sum - C. Const sum = curr.name.startsWIth('N') ? 1: 0;
Return curr+ sum - D. Const sum = curr.name.startsWith('N') ? 1: 0;
Return acc +sum
正解: D
質問 68
A developer is leading the creation of a new browser application that will serve a single page application. The team wants to use a new web framework Minimalsit.js. The Lead developer wants to advocate for a more seasoned web framework that already has a community around it.
Which two frameworks should the lead developer advocate for?
Choose 2 answers
- A. Angular
- B. Koa
- C. Vue
- D. Express
正解: A,D
質問 69
Given the code below:
Function myFunction(){
A =5;
Var b =1;
}
myFunction();
console.log(a);
console.log(b);
What is the expected output?
- A. Both lines 08 and 09 are executed, and the variables are outputted.
- B. Both lines 08 and 09 are executed, but values outputted are undefined.
- C. Line 08 outputs the variable, but line 09 throws an error.
- D. Line 08 thrones an error, therefore line 09 is never executed.
正解: C
質問 70
Refer to the code below:
function foo () {
const a =2;
function bat() {
console.log(a);
}
return bar;
}
Why does the function bar have access to variable a ?
- A. Inner function's scope
- B. Prototype chain
- C. Outer function's scope
- D. Hoisting
正解: C
質問 71
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 ?
- A. [title: "javaScript"] [title: "javaScript"]
- B. {author: "Robert", title: "javaScript}
Undefined - C. {author: "Robert", title: "javaScript}
{author: "Robert", title: "javaScript} - D. {author: "Robert"}
{author: "Robert", title: "javaScript}
正解: A
質問 72
Refer to the code below:
Let foodMenu1 = ['pizza', 'burger', 'French fries'];
Let finalMenu = foodMenu1;
finalMenu.push('Garlic bread');
What is the value of foodMenu1 after the code executes?
- A. [ 'Garlic bread']
- B. [ 'Garlic bread' , 'pizza','Burger', 'French fires' ]
- C. [ 'pizza','Burger', 'French fires']
- D. [ 'pizza','Burger', 'French fires', 'Garlic bread']
正解: C
質問 73
A developer uses a parsed JSON string to work with user information as in the block below:
01 const userInformation ={
02 " id " : "user-01",
03 "email" : "[email protected]",
04 "age" : 25
Which two options access the email attribute in the object?
Choose 2 answers
- A. userInformation("email")
- B. userInformation.get("email")
- C. userInformation.email
- D. userInformation(email)
正解: A,C
質問 74
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?
- A. On the webpage.
- B. Browser performance toots
- C. Terminal running the web server.
- D. Browser javaScript console
正解: D
質問 75
Given the code below:
01 function GameConsole (name) {
02 this.name = name;
03 }
04
05 GameConsole.prototype.load = function(gamename) {
06 console.log( ` $(this.name) is loading a game : $(gamename) ...`);
07 )
08 function Console 16 Bit (name) {
09 GameConsole.call(this, name) ;
10 }
11 Console16bit.prototype = Object.create ( GameConsole.prototype) ;
12 //insert code here
13 console.log( ` $(this.name) is loading a cartridge game : $(gamename) ...`);
14 }
15 const console16bit = new Console16bit(' SNEGeneziz ');
16 console16bit.load(' Super Nonic 3x Force ');
What should a developer insert at line 15 to output the following message using the method ?
> SNEGeneziz is loading a cartridge game: Super Monic 3x Force . . .
- A. Console16bit.prototype.load(gamename) {
- B. Console16bit.prototype.load(gamename) = function() {
- C. Console16bit = Object.create(GameConsole.prototype).load = function
(gamename) { - D. Console16bit.prototype.load = function(gamename) {
正解: D
質問 76
Refer to the code below:
Const searchTest = 'Yay! Salesforce is amazing!" ;
Let result1 = searchText.search(/sales/i);
Let result 21 = searchText.search(/sales/i);
console.log(result1);
console.log(result2);
After running this code, which result is displayed on the console?
- A. > true > false
- B. > 5 > -1
- C. > 5 > 0
- D. > 5 >undefined
正解: D
解説:
質問 77
Given the code below:
const copy = JSON.stringify([ new String(' false '), new Bollean( false ), undefined ]); What is the value of copy?
- A. -- [ \"false\" ,false, null ]--
- B. -- [ \"false\" , { } ]--
- C. -- [ \"false\" , false, undefined ]--
- D. -- [ false, { } ]--
正解: A
質問 78
Given the following code:
Let x =null;
console.log(typeof x);
What is the output of the line 02?
- A. "Null"
- B. "Object"
- C. "X"
- D. "undefined"
正解: B
質問 79
A developer has an ErrorHandler module that contains multiple functions.
What kind of export be leverages so that multiple functions can be used?
- A. All
- B. Default
- C. Multi
- D. Named
正解: D
質問 80
Given the requirement to refactor the code above to JavaScript class format, which class definition is correct?
- A. B

- B. A

- C. C

- D. D

正解: B
質問 81
Refer to the following code:
Let sampleText = 'The quick brown fox jumps';
A developer needs to determine if a certain substring is part of a string.
Which three expressions return true for the given substring ?
Choose 3 answers
- A. sampleText.includes(' Fox ', 3)
- B. sampleText.includes('fox');
- C. sampleText.includes(' quick ') !== -1;
- D. sampleText.includes(' quick ', 4);
- E. sampleText.includes(' fox ');
正解: C,D,E
質問 82
Refer to the code below:
const event = new CustomEvent(
//Missing Code
);
obj.dispatchEvent(event);
A developer needs to dispatch a custom event called update to send information about recordId.
Which two options could a developer insert at the placeholder in line 02 to achieve this?
Choose 2 answers
- A. 'Update' , (
recordId : '123abc'
( - B. 'Update' , {
Details : {
recordId : '123abc'
}
} - C. 'Update' , '123abc'
- D. { type : 'update', recordId : '123abc' }
正解: A,B
質問 83
......
Salesforce CRT-600 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
| トピック 6 |
|
CRT-600試験問題集と保証された成功率:https://www.goshiken.com/Salesforce/CRT-600-mondaishu.html