Question 96
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'?
<p> The current status of an order: < span> id='' status '> In progress < /span> < /p> Which JavaScript Statement changes the text 'In Progress' to Completed'?
Question 97
Which three options show valid methods for creating a fat arrow function? Choose 3 answers
Question 98
Given two expressions var1 and var2, what are two valid ways to return the logical AND of the two expression and ensure it is data type Boolean? Choose 2 answers
Question 99
Refer to the code below:
Const myFunction = arr => {
Return arr.reduce((result, current) =>{
Return result = current;
}, 10};
}
What is the output of this function when called with an empty array ?
Const myFunction = arr => {
Return arr.reduce((result, current) =>{
Return result = current;
}, 10};
}
What is the output of this function when called with an empty array ?
Question 100
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?
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?

