Tag Archives: Naming functions in JavaScript

JavaScript functions

Table of content:

What is a function in JavaScript?

A function is a piece of script within another larger script. A function is use to perform one or multiple tasks according to what code is placed inside it.

Functions can be use to organize a script into parts that accomplish different things. Functions can be reused as many times as you wish by simply calling the function again.

Continue reading

Objects in JavaScript

Table of content:

Continue reading