I want to change the “OK” text button to another thing like “Agree” but I don’t know how to do it, Would you guys help me?
here is my code:
function notification() {
let isConfirm = window.confirm("any");
if (isConfirm) {
console.log("any");
} else {
console.log("any");
}
}
notification();