JSFiddle - React, Tailwind, and code Playground
by ovfiddle
HTML
<button id="test">Click me!</button>
JavaScript
$('#test').click(function() {
alert('this is a vanilla js alert');
(function(alert) {
alert('this alert has been overridden');
})(function(_msg) {
alert('***' + _msg + '***');
});
alert('this is another vanilla js alert');
});