4 ms·
Why is having a different API other than window.alert() a better alternative, though? That just makes it confusing in a different way; that you have to know to
by binarynate 5y ago
Why is having a different API other than window.alert() a better alternative, though? That just makes it confusing in a different way; that you have to know to use different APIs depending on whether you're targeting the browser or server.