JSFiddle - React, Tailwind, and code Playground

by lun471k

HTML

<button onclick="return hi(); return bye();">Click me</button>

JavaScript

function hi() {
        alert("hi");
        return false;
        /*
        return true;
        */
    };

    function bye() {
        alert("bye");
    };