JavaScript-Developer-I 無料問題集「Salesforce Certified JavaScript Developer I」

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 letterN.
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?

Which three statements are true about promises ?
Choose 3 answers

正解:C、D、E 解答を投票する
At Universal Containers, every team has its own way of copying JavaScript objects. The code Snippet shows an implementation from one team:
Function Person() {
this.firstName = "John";
this.lastName = 'Doe';
This.name =() => (
console.log('Hello $(this.firstName) $(this.firstName)');
)}
Const john = new Person ();
Const dan =JSON.parse(JSON.stringify(john));
dan.firstName ='Dan';
dan.name();
What is the Output of the code execution?

A developer creates a genericfunction to log custom messages in the console. To do this, the function below is implemented.
01 function logStatus(status){
02 console./*Answer goes here*/{'Item status is: %s', status};
03 }
Which three console logging methods allow the use of string substitution in line 02?

正解:A、C、E 解答を投票する
Given HTML below:
<div>
<div id ="row-uc"> UniversalContainer</div>
<div id ="row-aa">Applied Shipping</div>
<div id ="row-bt"> Burlington Textiles </div>
</div>
Which statement adds the priority = account CSS class to the universal Containers row ?

Refer to the followingcode:

Considering the implications of 'use strict' on line 04, which three statements describe the execution of the code?
Choose 3 answers

正解:A、D、E 解答を投票する
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 ?

GIven a value, which three options can a developer use to detect if thevalue is NaN?
Choose 3 answers !

正解:D、E 解答を投票する
bar, awesome is a popular JavaScript module. the versions publish to npm are:

Teams at Universal Containers use this module in a number of projects. A particular project has thepackage, json definition below.

A developer runs this command: npm install.
Which version of bar .awesome is installed?

Refer to the code:

Given the code above, which three properties are set pet1?
Choose 3 answers:

正解:A、D、E 解答を投票する
Refer to the code below:
Function changeValue(obj) {
Obj.value = obj.value/2;
}
Const objA = (value: 10);
Const objB = objA;
changeValue(objB);
Const result = objA.value;
What is the value of result after the code executes?

Given the code below:

Which method can be used to provide a visual representation of the list of users and to allow sorting by the name or email attribute?

Given the following code:

is the output of line 02?

Refer to HTML below:
<p> The current status of an Order: <span id ="status"> In Progress </span> </p>.
Which JavaScript statement changes thetext 'In Progress' to 'Completed' ?

A developer has the function, shown below, that is called when a page loads.

Where can the developer see the log statement after loading the page in the browser?

弊社を連絡する

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

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡