What will the output of the following program be?
let textData = "I have got a date at a quarter to eight; I'll see you at the gate, so don’t be late";
let position = textData.search(/['’]/);
console.log(position);What will the output of the following program be?
let textData = "I have got a date at a quarter to eight; I'll see you at the gate, so don’t be late";
let position = textData.search(/['’]/);
console.log(position);Create a free account to access the full topic