Question 106
Refer to the code below:
const searchText = ' Yay! Salesforce is amazing! ' ;
let result1 = searchText.search(/sales/i);
let result2 = searchText.search(/sales/);
console.log(result1);
console.log(result2);
After running this code, which result is displayed on the console?
const searchText = ' Yay! Salesforce is amazing! ' ;
let result1 = searchText.search(/sales/i);
let result2 = searchText.search(/sales/);
console.log(result1);
console.log(result2);
After running this code, which result is displayed on the console?
Question 107
Refer to the code below:

What is the value of foobDienu1 after the code executes?

What is the value of foobDienu1 after the code executes?
Question 108
Refer to the string below:
const str = 'Salesforce';
Which two statements result in the word 'Sales'?
Choose 2 answers
const str = 'Salesforce';
Which two statements result in the word 'Sales'?
Choose 2 answers
Question 109
A developer wants to set up a secure web server with Node.js. The developer creates a directory locally called app-server, and the first file is app-server/index.js.
Without using any third-party libraries, what should the developer add to index.js to create the secure web server?
Without using any third-party libraries, what should the developer add to index.js to create the secure web server?
Question 110
GIven a value, which three options can a developer use to detect if the value is NaN?
Choose 3 answers !
Choose 3 answers !
