2021年最新のに更新されたのはJavaScript-Developer-IテストエンジンとPDFで完全版無料問題集保証!
最新のSalesforce Developer JavaScript-Developer-I実際の無料試験問題
質問 86
Refer to the code below:
Which assertion accurately tests the above code?
- A. Console, assert ( await functionalUnderTest (true) , 'ok
- B. Console, assert ( await functionalUnderTest (true) , 'not ok) )
- C. Console, assert (functionalUnderTest (true) , 'ok')
- D. Console, assert ( await functionalUnderTest (true) , 'not ok' )
正解: C
質問 87
Refer to the HTML below:
Which expression outputs the screen width of the element with the ID card-01?
- A. Documents.getElementById( 'card-01') . width
- B. Documents.getElementById( 'card-01') . style,width
- C. Documents.getElementById( 'card-01') . InnerHTML. Length.6
- D. Documents.getElementById( 'card-01') .getBoundingClientRect () .width
正解: D
質問 88
Refer to the code:
Given the code above, which three properties are set pet1?
Choose 3 answers:
- A. canTalk
- B. Size
- C. Type
- D. Owner
- E. Name
正解: A,B,C
質問 89
A developer creates a class that represents a blog post based on the requirements that a Post should have a body, author, and view count. The code is shown below:
Which statement should be inserted in the placeholder on line 02 to allow for a variable to be sent to a new instance of a port with the three attributes correctly populated?
- A. Super (body, author, viewCount) (
- B. Function Post (body, author, viewCount) (
- C. Constructor ( ) (
- D. Constructor (body, author, viewCount) (
正解: D
質問 90
Universal Container (UC) notices that its application allows users to search for account makes a network request each time a key is pressed. This results in too many request for the server to handle.
O address this problem, UC decides to implement a deboune function on the search string change handler. Choose 3 answers
- A. When the search string changes, enqueue the request within a setTimeout.
- B. If there is an existing settimeout and the search string changes, allow the existing setTimeout to finish, and do not enqueue a settimeout.
- C. Store the timeId of the setTimeout last enqueued by the search string change handler.
- D. Ensure that the network request has the property debounce set to true,
- E. If the there is an existing setTimeout and the search string changes, cancel the existing setTimeout using the persisted timeout replace it with a new setTimeout.
正解: A,D,E
質問 91
A developer removes the HTML class attributes from the check button, so now it is simply:
<button>checkout<button>.
There is a test verify the existence of the checkout button, however it look for a button with class'' blue''. The test fails because no such button is f.
Which type of test category describes this test?
- A. False negative
- B. False positive
- C. True negative
- D. True positive
正解: D
質問 92
Refer to the code below:
Which statement allows a developer to cancel the scheduled timed function?
- A. removeTimeout (timeFunction) ;
- B. removeTimeout (timerId) ;
- C. ClearTimeout (timeFunction);
- D. ClearTimeout (timerId) ;
正解: A
質問 93
A developer has an ErrorMandler module that contains multiple functions.
What kind of export should be leveraged so that multiple function can be used?
- A. Named
- B. Multi
- C. All
- D. default
正解: A
質問 94
Cloud Kicks has a class to represent item for sale in an online store, as shown below:
A new business requirement comes in that request a clothingitem class, that should have all of the properties and methods of the item class, but will also have properties that are specific top clothes.
Which line of code properly declares the clothingitem class such that it inherits from item?
- A. Class Clothingitem (
- B. Class clothingitem implements item (
- C. Class clothingitem extends item (
- D. Class clothing item super item (
正解: C
質問 95
Refer to the code below:
What is the value result after line 10 executes?
- A. John undefined
- B. Undefined Developer
- C. John Developer
- D. Error: myfather.job is not a function
正解: D
質問 96
Refer to the code below:
Line 05 causes an error.
What are the values of greeting and salutation once code completes?
- A. Greeting is Goodbye and salutation is Hello, Hello.
- B. Greeting is Hello and salutation is I say hello.
- C. Greeting is Goodbye and salutation is I say Hello.
- D. Greeting is Hello and salutation is Hello, Hello.
正解: D
質問 97
Refer to the code below:
What is displayed when myfunction(true) is called?
- A. 2 2 2 2
- B. 2 2 1 1
- C. 2 2 undefined undefined
- D. 2 2 1 2
正解: B
質問 98
Which three statements are true about promises?
The executor of a new promise runs automatically.
- A. A promise has a . then 90 method.
- B. A fulfilled or rejected promise will not change states.
- C. A settled promises can become resolved.
- D. A pending promise can become fulfilled, settled or rejected.
正解: A,B,C
質問 99
Refer to the code below.
After changing the string index values, the of atr is Javascript''. What is the reason for this value?
- A. Primitive values are immutable
- B. Non-primitive values are immutable.
- C. Non-primitive values are mutable.
- D. Primitive values are mutable.
正解: C
質問 100
Refer to the code below:
Considering the implementations of 'use strict' on line 04, which three statements describes the executes of the code? Choose 3 answers
- A. 'use strict , is hoisted, so it has an effect on all lines.
- B. Z is equal to 3,14.
- C. 'use strict' has an effect only on line 05.
- D. Line 05 throws an error.
- E. 'use strict' has an effect between line 04 and the end of the file.
正解: A,B,D
質問 101
Why would a developer specify a package as the package.json as a deDepdelivery instead of a depdelivery?
- A. Other required packages depended on it for development.
- B. It is only needed for local development and testing.
- C. It should be bundled when the package is published.
- D. It is required by the application in production.
正解: B
質問 102
Refer to the following code:
Which statement should be added to line 09 for the code to display. The truck 123AB has a weight of 5000 Ib. '?
- A. Super = (plate ) ;
- B. This .plate = plate;
- C. Vehicle.plate = plate
- D. Super.plate = plate;
正解: A,B,C
質問 103
Refer to the HTML below:
<p> The current status of an order: < span> id='' status '> In progress < /span> < /p> Which JavaScript Statement changes the text 'In Progress' to Completed'?
- A. Document, getElementById (''status''), innerHTML = 'Completed' ;
- B. Document, getElementById ('',status''), innerHTML = 'Completed' ;
- C. Document, getElementById (status'') , value = completed' ;
- D. Document, getElementById (''# status''), innerHTML = 'Completed' ;
正解: A
質問 104
A developer wants to create an object from a function in the browser using the code below.
What happens due to lack of the new keyword on line 02?
- A. The a variable is assigned the correct object.
- B. The n variable is assigned the correct object but this- remains undefined.
- C. Window. n is assigned the correct object.
- D. Window. === name is assigned to ''hello'' and the variable a n remain undefined.
正解: D
質問 105
A developer wrote the following code to test a sum3 function that takes in an array of numbers and returns the sum of the first three numbers in the array. The test passes:
A different developer made changes to the behavior of sum3 to instead sum all of the number present In the array.
Which two results occur when running the test on the updated sum3 function?
Choose 2 answers
- A. The line 02 assertion fails.
- B. The line 05 assertion passes.
- C. The line 05 assertion fails.
- D. The line 02 assertion passes.
正解: C,D
質問 106
......
Salesforce JavaScript-Developer-I 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
JavaScript-Developer-I問題集には更新された練習テストと160独特な問題:https://www.jpntest.com/shiken/JavaScript-Developer-I-mondaishu
最新の100%試験合格率爆上がり JavaScript-Developer-I問題集PDF:https://drive.google.com/open?id=1h1vQJrlPufO_bxT1uc0KlQlVBxxzVX2h