無料更新されたSalesforce JavaScript-Developer-Iテストエンジン問題には225問あります [Q28-Q45]

Share

無料更新されたSalesforce JavaScript-Developer-Iテストエンジン問題には225問あります

ベストな問題集を使おうSalesforce Developer JavaScript-Developer-I専門試験問題


証明されると、開発者はSalesforceプラットフォームでJavaScript開発のスキルと専門知識を紹介できます。この認定は、開発者が雇用市場で際立って収益の可能性を高めるのに役立ちます。また、組織内の新しい雇用機会とキャリアの進歩の機会にアクセスできるようになります。

 

質問 # 28
The developer has a function that prints ''Hello'' to an input name. To test this, the developer created a function that returns world''.

What can the developer do to change the code to print ''Hello world''?

  • A. Change line 9 to sayhello (world () ;
  • B. Change line 7 to ) () ;
  • C. Change line 5 to function world () (
  • D. Change line 2 to console.log ( 'Hello', name () );

正解:B


質問 # 29
Refer to the code below:

Why does the function bar have access to variable =?

  • A. Outer function's scope
  • B. Inner function's scope
  • C. Prototype chain
  • D. Hoisting

正解:B


質問 # 30
A developer wants to use a try...catch statement to catch any error that countSheep () may throw and pass it to a handleError () function.
What is the correct implementation of the try...catch?
A)

B)

C)

D)

  • A. Option
  • B. Option
  • C. Option
  • D. Option

正解:D


質問 # 31
Given the following code:
let x = null;
console.log(typeof x);
What is the output?

  • A. "x"
  • B. "object"
  • C. "null"
  • D. "undefined"

正解:B


質問 # 32
Refer to the code snippet:
Function getAvailabilityMessage(item) {
If (getAvailability(item)){
Var msg ="Username available";
}
Return msg;
}
A developer writes this code to return a message to user attempting to register a new username. If the username is available, variable.
What is the return value of msg hen getAvailabilityMessage ("newUserName" ) is executed and getAvailability("newUserName") returns false?

  • A. "newUserName"
  • B. "Username available"
  • C. undefined
  • D. "Msg is not defined"

正解:C


質問 # 33
A developer receives a comment from the Tech Lead that the code given below has
error:
const monthName = 'July';
const year = 2019;
if(year === 2019) {
monthName = 'June';
}
Which line edit should be made to make this code run?

  • A. 02 let year =2019;
  • B. 03 if (year == 2019) {
  • C. 01 let monthName ='July';
  • D. 02 const year = 2020;

正解:C


質問 # 34
Refer to the code below:

Which code executes syhello once, two minutes from now?

  • A. delay (sayhello, 120000) ;
  • B. SetInterval (sayhello, 120000) ;
  • C. SetTimeout (sayhello, 120000) ;
  • D. SetTimeout (sayhello( ), 120000) ;

正解:D


質問 # 35
Why would a developer specify a package as the package.json as a deDepdelivery instead of a depdelivery?

  • A. It should be bundled when the package is published.
  • B. Other required packages depended on it for development.
  • C. It is only needed for local development and testing.
  • D. It is required by the application in production.

正解:C


質問 # 36
developer publishes a new version of a package with new features that do not break backward compatibility. The previous version number was 1.1.3.
Following semantic versioning format, what should the new package version number be?

  • A. 1.2.3
  • B. 1.1.4
  • C. 2.0.0
  • D. 1.2.0

正解:D


質問 # 37
A developer is asked to fix some bugs reported by users. To do that, the developer adds
a breakpoint for debugging.
Function Car (maxSpeed, color){
This.maxspeed =masSpeed;
This.color = color;
Let carSpeed = document.getElementById(' CarSpeed');
Debugger;
Let fourWheels =new Car (carSpeed.value, 'red');
When the code execution stops at the breakpoint on line 06, which two types of information are
available in the browser console ?
Choose 2 answers:

  • A. The style, event listeners and other attributes applied to the carSpeed DOM element
  • B. The information stored in the window.localStorage property
  • C. A variable displaying the number of instances created for the Car Object.
  • D. The values of the carSpeed and fourWheels variables

正解:A、B


質問 # 38
Refer to the code below:
Async funct on functionUnderTest(isOK) {
If (isOK) return 'OK' ;
Throw new Error('not OK');
)
Which assertion accuretely tests the above code?

  • A. Console.assert (await functionUnderTest(true), ' not OK ')
  • B. Console.assert (await functionUnderTest(true), ' OK ')
  • C. Console.assert (await functionUnderTest(true), ' not OK ')
  • D. Console.assert (await functionUnderTest(true), 'OK')

正解:D


質問 # 39
Refer to the string below:
const str = 'Salesforce';
Which two statements result in the word 'Sales'?
Choose 2 answers

  • A. str.substring (0, 5);
  • B. str.substr(1, 5);
  • C. str.substring (1, 5);
  • D. str.substr (0, 5);

正解:A、D


質問 # 40
Refer to the code below:
Let inArray - [ [1, 2] , [3, 4, 5] ];
Which two statements result in the array [1, 2, 3, 4, 5 ]?

  • A. [ ]. Concat ( [...InArray] );
  • B. [ ] . concat. Apply ( [ ], inArray) ;
  • C. [ ] . concat. Apply (inArray, [ ] );
  • D. [ ] . concat. ( ... inArray) ;

正解:A、B


質問 # 41
Which code statement below correctly persists an objects in local Storage ?

  • A. const setLocalStorage = (storageKey, jsObject) => {
    window.localStorage.setItem(storageKey, JSON.stringify(jsObject));
    }
  • B. const setLocalStorage = ( jsObject) => {
    window.localStorage.connectObject(jsObject));
    }
  • C. const setLocalStorage = (storageKey, jsObject) => {
    window.localStorage.persist(storageKey, jsObject);
    }
  • D. const setLocalStorage = ( jsObject) => {
    window.localStorage.setItem(jsObject);
    }

正解:A

解説:


質問 # 42
Which option is true about the strict mode in imported modules?

  • A. Add the statement use non-strict, before any other statements in the module to enable
    not-strict mode.
  • B. Add the statement use strict =false; before any other statements in the module to enable
    not- strict mode.
  • C. You can only reference notStrict() functions from the imported module.
  • D. Imported modules are in strict mode whether you declare them as such or not.

正解:C


質問 # 43
Refer to the code below:
01 let car1 = new promise((_, reject) =>
02 setTimeout(reject, 2000, "Car 1 crashed in"));
03 let car2 = new Promise(resolve => setTimeout(resolve, 1500, "Car 2
completed"));
04 let car3 = new Promise(resolve => setTimeout (resolve, 3000, "Car 3
Completed"));
05 Promise.race([car1, car2, car3])
06 .then(value => (
07 let result = $(value) the race. `;
08 ))
09 .catch( arr => (
10 console.log("Race is cancelled.", err);
11 ));
What is the value of result when Promise.race executes?

  • A. Car 2 completed the race.
  • B. Car 1 crashed in the race.
  • C. Car 3 completed the race.
  • D. Race is cancelled.

正解:A


質問 # 44
Refer to the following code:

What will the console when the button is clicked?

  • A. Inner message
  • B. Outer message
  • C. Outer message
  • D. Inner message

正解:B


質問 # 45
......


Salesforce JavaScript-Developer-I認定試験は、60の質問で構成される複数選択試験です。候補者は試験を完了するのに105分で、認定を獲得するには68%の合格スコアを達成する必要があります。試験は、テストセンターでオンラインまたは直接取ることができます。

 

100%の合格率を試そう!更新されたのはJavaScript-Developer-I試験問題 [2023年更新]:https://jp.fast2test.com/JavaScript-Developer-I-premium-file.html

合格させるJavaScript-Developer-I試験にはリアル問題解答:https://drive.google.com/open?id=1nI5PYWO13SLuAM_ySksqpg6qqtM4CltB


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어