4 ms·
I use confirm() on occasion as a "are you sure you want to delete this?" type protection against misclicks that doesn't involve coding a modal or something.
by dangrossman 5y ago
I use confirm() on occasion as a "are you sure you want to delete this?" type protection against misclicks that doesn't involve coding a modal or something.
- kuroguro 5y agoSame, there's probably hundreds of thousands of business back-end applications that use confirm, as shiny buttons aren't a requirement. Will they just remove the API (so a JS error) or will it default to "no"?