試験準備には欠かさないトップクラスのSalesforce JavaScript-Developer-I試験学習ガイド練習問題最新版 [Q128-Q145]

Share

試験準備には欠かさないトップクラスのSalesforce JavaScript-Developer-I試験学習ガイド練習問題最新版

今すぐJavaScript-Developer-I問題を使おうJavaScript-Developer-I問題集PDFで合格しよう


Salesforce JavaScript-Developer-I試験に備えるには、候補者はデータ型、関数、イベント、オブジェクトを含むJavaScriptプログラミングの概念を強く理解している必要があります。また、Apex、Visualforce、およびLightningコンポーネントを含むSalesforceプラットフォームの知識も必要です。候補者は、Salesforce JavaScript Developer I認定トレーニングコースを受講して、試験に合格するために必要なスキルと知識を身につけることもできます。


Salesforce JavaScript-Developer-I 認定試験は、60問の多肢選択問題から構成され、105分以内に完了する必要があります。この試験はオンラインで受験でき、どこからでも受験することができます。合格点は68%で、受験費用は200ドルです。初回の試験に合格できなかった場合は、15日間の待機期間後に再受験することができます。

 

質問 # 128
Which function should a developer use to repeatedly execute code at a fixed time interval?

  • A. setInterim
  • B. setPeriod
  • C. setTimeout
  • D. setInterval

正解:D


質問 # 129
Given the JavaSript below:

Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?

  • A. none' ; 'block '
  • B. 'hidden'; 'visible'
  • C. 'Block' ; 'none'
  • D. 'Visible' ; hidden'

正解:C


質問 # 130
Which statement can a developer apply to increment the browser's navigation history without a page refresh?
Which statement can a developer apply to increment the browser's navigation history without a page refresh?

  • A. window.history.replaceState(newStateObject,' ', null);
  • B. window.history.pushState(newStateObject);
  • C. window.history.state.push(newStateObject);
  • D. window.history.pushStare(newStateObject, ' ', null);

正解:A


質問 # 131
Refer to the code below:

Which statement allows a developer to cancel the scheduled timed function?

  • A. removeTimeout (timeFunction) ;
  • B. ClearTimeout (timeFunction);
  • C. removeTimeout (timerId) ;
  • D. ClearTimeout (timerId) ;

正解:A


質問 # 132
There is a new requirement for a developer to implement a currPrice method that will return the current price of the item or sales..

What is the output when executing the code above

  • A. 50
    80
    72
  • B. 50
    Uncaught TypeError: saleItem,desrcription is not a function
    50
    80
  • C. 50
    80
    Uncaught Reference Error:this,discount is undefined
    72
  • D. 50
    80
    50
    72

正解:D


質問 # 133
Considering type coercion, What does the following expression evaluate to?
True + ) + '100 ' + null

  • A. '3100null'
  • B. '4100null'
  • C. 0
  • D. 1

正解:B


質問 # 134
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?

  • A. Using the debugger command on line 05.
  • B. Using the debugger command on line 03
  • C. Wrapping findSubtotal in a console.log() method.
  • D. Calling the console.trace (total) method on line 03.

正解:A


質問 # 135
Refer to the code snippet below:
Let array = [1, 2, 3, 4, 4, 5, 4, 4];
For (let i =0; i < array.length; i++)
if (array[i] === 4) {
array.splice(i, 1);
}
}
What is the value of array after the code executes?

  • A. [1, 2, 3, 5]
  • B. [1, 2, 3, 4, 5, 4]
  • C. [1, 2, 3, 4, 5, 4, 4]
  • D. [1, 2, 3, 4, 4, 5, 4]

正解:D

解説:


質問 # 136
Given the code below.

What is logged to the console?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:A


質問 # 137
A developer is wondering whether to use, Promise.then or Promise.catch, especially
when a Promise throws an error?
Which two promises are rejected?
Which 2 are correct?

  • A. New Promise((resolve, reject) => (throw 'cool error here'}).catch(error =>
    console.error(error)) ;
  • B. New Promise(() => (throw 'cool error here'}).then(null, error => console.error(error)));
  • C. Promise.reject('cool error here').catch(error => console.error(error));
  • D. Promise.reject('cool error here').then(error => console.error(error));

正解:A、C


質問 # 138
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. [1,2]
  • B. ["foo:1","bar:2"]
  • C. ["foo","bar"]
  • D. ["bar","foo"]

正解:C


質問 # 139
Refer to the following array:
Let arr1 = [ 1, 2, 3, 4, 5 ];

Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?

  • A. Let arr2 = arr1.sort();
  • B. Let arr2 = arr1;
  • C. Let arr2 = Array.from(arr1);
  • D. Let arr2 = arr1.slice(0, 5);

正解:C、D


質問 # 140
Refer to the code snippet below:
Let array = [1, 2, 3, 4, 4, 5, 4, 4];
For (let i =0; i < array.length; i++)
if (array[i] === 4) {
array.splice(i, 1);
}
}
What is the value of array after the code executes?

  • A. [1, 2, 3, 5]
  • B. [1, 2, 3, 4, 5, 4]
  • C. [1, 2, 3, 4, 5, 4, 4]
  • D. [1, 2, 3, 4, 4, 5, 4]

正解:D


質問 # 141
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 ( [...InArray] );
  • D. [ ] . concat. Apply (inArray, [ ] );

正解:B、C


質問 # 142
Refer to the following code:

Which two statement could be inserted at line 17 to enable the function call on line 18?
Choose 2 answers

  • A. leo.prototype.roar = ( ) =>( console.log('They\'re pretty good!'); };
  • B. Object.assign (leo. Tiger);
  • C. Object.assign (leo, tony);
  • D. leo.roar = () => { console.log('They\'re pretty good!'); );

正解:C、D


質問 # 143
Refer to the code below:
Const resolveAfterMilliseconds = (ms) => Promise.resolve (
setTimeout (( => console.log(ms), ms ));
Const aPromise = await resolveAfterMilliseconds(500);
Const bPromise = await resolveAfterMilliseconds(500);
Await aPromise, wait bPromise;
What is the result of running line 05?

  • A. Only aPromise runs.
  • B. Neither aPromise or bPromise runs.
  • C. aPromise and bPromise run sequentially.
  • D. aPromise and bPromise run in parallel.

正解:B


質問 # 144
is below:
<input type="file" onchange="previewFile()">
<img src="" height="200" alt="Image Preview..."/>
The JavaScript portion is:
01 function previewFile(){
02 const preview = document.querySelector('img');
03 const file = document.querySelector('input[type=file]').files[0];
04 //line 4 code
05 reader.addEventListener("load", () => {
06 preview.src = reader.result;
07 },false);
08 //line 8 code
09 }
In lines 04 and 08, which code allows the user to select an image from their local computer , and to display the image in the browser?

  • A. 04 const reader = new FileReader();
    08 if (file) URL.createObjectURL(file);
  • B. 04 const reader = new File();
    08 if (file) URL.createObjectURL(file);
  • C. 04 const reader = new File();
    08 if (file) reader.readAsDataURL(file);
  • D. 04 const reader = new FileReader();
    08 if (file) reader.readAsDataURL(file);

正解:D


質問 # 145
......

無料Salesforce Developer JavaScript-Developer-I試験問題:https://jp.fast2test.com/JavaScript-Developer-I-premium-file.html

問題集練習試験問題学習ガイドはJavaScript-Developer-I試験で使える:https://drive.google.com/open?id=1tbuNCm9d7Ck_vxO7Uhdx7Bld996rQO2n


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어