合格目指せJavaScript-Developer-I試験最新のJavaScript-Developer-I試験問題集PDF2022年更新 [Q58-Q76]

Share

合格目指せJavaScript-Developer-I試験最新のJavaScript-Developer-I試験問題集PDF2022年更新

JavaScript-Developer-I試験問題集、365日更新無料サンプル


Salesforce JavaScript-Developer-I 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • JavaScriptデコレータを指定して、デコレータの使用方法の例を示します
  • イベントループとイベントモニターを使用するか、ループの結果を決定します
トピック 2
  • シナリオと要件を考慮して、どのNode.js実装が適切なソリューションであるかを推測します
  • JSON応答を前提として、JSONオブジェクトの操作方法を示します
トピック 3
  • シナリオと要件を考慮して、どのNode.js CLIコマンドが適切なソリューションであるかを推測します
  • データのリストを前提として、配列を使用したデータ操作を示します
トピック 4
  • オブジェクト実装の基礎を適用してビジネス要件を解決します
  • ブラウザ開発ツールを利用してコードの動作を調査します
トピック 5
  • クラス実装の基礎を適用してビジネス要件を解決します
  • コアNode.jsモジュールと特定の要件を理解し、どのNode.jsライブラリ
  • フレームワークが適切なソリューションであるかを推測します
トピック 6
  • 型強制とその影響についての認識を示す
  • コードのブロックが与えられた場合、変数スコープと実行フローを分析します
トピック 7
  • JavaScriptモジュールが与えられた場合、モジュールの使用方法の例を示します
  • シナリオが与えられた場合、変数を作成して正しく初期化するコードを記述します
トピック 8
  • シナリオと要件を考慮して、どのNode.Jsパッケージ管理ソリューションが最も適しているかを区別します
  • ビジネス要件を考慮して、文字列、数値、および日付を効果的に利用します

 

質問 58
At Universal Containers, every team has its own way of copying JavaScript objects. The code snippet shows an implementation from one team:

What is the output of the code execution?

  • A. TypeError: dan.name is not a function
  • B. Hello Dan Doe
  • C. Hello John Doe
  • D. TypeError: Assignment to constant variable

正解: A

 

質問 59
Given the following code:

Which replacement for the conditional statement on line 02 allows a developer to correctly determine that a button on the page is clicked?

  • A. button.addEventListener ( 'click')
  • B. Event,target.nodename == 'BUTTON"
  • C. Event, clicked
  • D. o.nodeTarget == this

正解: B

 

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

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

正解: D

 

質問 61
In the browser, the window object is often used to assign variables that require the broadcast scope in an application Node is application do not have access to the window object by default.
Which two methods are used to address this? Choose 2 answer

  • A. Create a new window object in the root file.
  • B. Use the document instead of the window object.
  • C. Assign variables to module, exports and require them as needed.
  • D. Assign variables to the global object.

正解: A,B

 

質問 62
In which situation should a developer include a try... catch block around their function call?

  • A. The function has an error that should not be silenced.
  • B. The function contains scheduled code.
  • C. The function might raise a runtime error that needs to be handled.
  • D. The function results in an out of memory issue.

正解: C

 

質問 63
A developer is working on an ecommerce website where the delivery date is dynamically calculated based on the current dat. The code line below is responsible for this calculation.
Const deliveryDate = new Date ( );
Due to changes in the business requirements, the delivery date must now be today's date + 9 days.
Which code meets this new requirements?

  • A. deliveryDate . date = date . current () + 9
  • B. deliveryDate. setDate ( Date . current () + 9 0;
  • C. deliveryDate. setDate (( new Date ()) .getDate () + 9);
  • D. deliveryDate. Date = new Date (+9) ;

正解: C

 

質問 64
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. > 5 > -1
  • B. > 5 >undefined
  • C. > true > false
  • D. > 5 > 0

正解: B

 

質問 65
Refer to the code below:
let productSKU = '8675309,;
A developer has a requirement to generate SKU numbers that are always 10 characters log, starting with 'sku', and padded with zeros.
Which statement assigned the value skuooooooooo86675309?

  • A. productSKU = productSKU. PadEnd (16, '0' padstart ('sku') ;
  • B. productSKU = productSKU. Padstart (19, '0' padstart ('sku') ;
  • C. productSKU = productSKU. PadEnd (16, '0' padstart (19, 'sku') ;
  • D. productSKU = productSKU. Padstart (16, '0' padstart (19, 'sku') ;

正解: D

 

質問 66
A developer wants to literate through an array of objects and count the objects whose property value, name, start with the letter N. const arrobj - [{''name ''t ''Zach''}, { ''name t Kate'') , ( ''name Alice'') < ( ''name'' t ''Bob'') , (''name'' t ''Nathan) , (''name'' t ''Nathandle1'')] Refer to the code snippet below:

Which missing lines 02 and 03 return the correct count?

  • A. Const sum = curr. name startsWith ('N') 7 1 : 0;
    Return curr + sum;
  • B. Comst sum = curr. Name startsWith ('N') 7 1 : 0
    Return acc + sum;
  • C. Conset sun + curr. StartsWith ('N') 7 1 : 1;
    Return acc + sum ;
  • D. Comst sum = curr. name startsWith ('N') 7 1 : 0;
    Return curr + sum;

正解: B

 

質問 67
A developer has two ways to write a function:

After deciding on an option, the developer creates 1000 monster objects.
How many growl methods are created with Option A and Option B?

  • A. 1 growl method is created for Option A. 1000 growl methods are created for Option B.
  • B. 1000 growl methods are created regardless of which option is used.
  • C. 1 growl method is created regardless of which option is used.
  • D. 1000 growl methods are created for Option A. 1 growl method is created for Option B.

正解: D

 

質問 68
Given the requirement to refactor the code above to JavaScript class format, which class definition is correct?

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

正解: B

 

質問 69
Which option is a core Node;js module?

  • A. locale
  • B. Memory
  • C. Ios
  • D. Path

正解: C,D

 

質問 70
Refer to the following object:

How can a developer access the fullname property for cat?

  • A. Cat.fullname ( )
  • B. Cat,get,fullname
  • C. Cat.fullName
  • D. Cat.function.fullName

正解: B

 

質問 71
Refer to the following code:
Let sampletext = 'The quick brown fox Jumps';
A developer need to determine if a certain substring is part of a string.
Which three expressions return true for the give substring? Choose 3 answers

  • A. sampleText.includes (fox' , 3);
  • B. sampleText.includes (quick', 4);
  • C. sampleText.substing ('fox');
  • D. sampleText.indexof ('quick') 1== -1;
  • E. sampleText.inclides (fox');

正解: A

 

質問 72
A developer receives a comment from the Tech lead that the code below gives an error.

Which line edit should be made to make this code run?

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

正解: D

 

質問 73
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. 'Block' ; 'none'
  • B. none' ; 'block '
  • C. 'Visible' ; hidden'
  • D. 'hidden'; 'visible'

正解: A

 

質問 74
Given the code below:

What is logged to the console?

  • A. 2 5 1 3 4
  • B. 2 1 4 3 5
  • C. 1 2 5 3 4
  • D. 1 2 4 3 5

正解: A

 

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

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

正解: C

 

質問 76
......

JavaScript-Developer-I問題集、あなたを合格させる認証試験:https://jp.fast2test.com/JavaScript-Developer-I-premium-file.html

まもなくセール終了!リアルJavaScript-Developer-IのPDF解答を使おう:https://drive.google.com/open?id=1alyU-pSDwpVvz6U1-f8smm2T905URtD4


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어