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?
Currently there are no comments in this discussion, be the first to comment!