In this JavaScript Tutorial, we will create a function called greet() which does not receive and any parameter and does not return anything to the caller. Then we will invoke this JavaScript function from a HTML OnClick Button event.