Computer Science, asked by arindamsen813, 10 months ago

The code snippet " if (value && typeof value == "string") {}; is used for

Answers

Answered by alokpandey34001
0

Answer:

not working

function updateRecords(value) {

console.log(!!(value)); // true

console.log(typeof(!!(value))); //boolean

if (value === true) {

alert("success");

}

}

updateRecords("Take a Chance on Me

Similar questions