jQuery addClass example
Change class name on click in jQuery
by bryiantan
HTML
<div id="banner-message">
<p>Hello World</p>
<button>Change color</button>
</div>
JavaScript
const timeFuncRuntime = funcParameter => {
alert('parent function called');
}
const callbacks= () => console.log('callback invoked');
timeFuncRuntime(callbacks);