Question 66
A developer uses a parsed JSON string to work with user information as in the block below:
01 const userInformation = {
02 "id": "user-01",
03 "email": "[email protected]",
04 "age": 25
05 };
Which two options access the email attribute in the object?
Question 67
HTML:
<p> The current status of an Order: <span id="status"> In Progress </span> </p> Which JavaScript statement changes 'In Progress' to 'Completed'?
Question 68
01 function changeValue(obj) {
02 obj.value = obj.value / 2;
03 }
04 const objA = { value: 10 };
05 const objB = objA;
06
07 changeValue(objB);
08 const result = objA.value;
What is the value of result?
Question 69
Given the JavaScript below:
Which code should replace the placeholder comment on line 06 to hide accounts that do not match the search string?
Question 70
A developer is trying to convince management that their team will benefit from using Node.js for a backend server that they are going to create. The server will be a web server that handles API requests from a website that the team has already built using HTML, CSS, and JavaScript.
Which three benefits of Node.js can the developer use to persuade their manager?
