JSFiddle - React, Tailwind, and code Playground
JavaScript
function sayHi(){
alert('just wanted to say hi!');
}
function mySimpleFunction(testString, testFunction){
var yourString = testString;
var innerFunction = testFunction;
// do nothing else. mySimpleFunction should not
//send anything back to the user. implied
//return true is sent
}
mySimpleFunction('send this and stay', sayHi());