Answers for "Unexpected use of 'confirm' no-restricted-globals"

2

Unexpected use of 'confirm' no-restricted-globals

You have to use window.confirm() instead of just confirm().
Posted by: Guest on June-15-2021

Browse Popular Code Answers by Language