Categories
JavaScript

Defining functions in JavaScript

JavaScript functions come in three different flavours.

Statement

Expression

Constructor

run the code below in your console or html page.

Leave a Reply