The Code Log

Code notes and snippets resource for software development concepts

Hoisting occurs when a variable or function declaration is put into memory during the compile phase and is conceptually moved to the top of its…

Read more

A function (object subtype) is a JavaScript procedure that consists of a set of statements to perform a task. There are two ways to define…

Read more

A JavaScript array is an object subtype that is used in the construction of arrays; which are high-level, list-like objects. You can create an array…

Read more

In JavaScript, most things are objects. You can use objects as containers to encapsulate related functions and variables into efficient packages. To create objects in…

Read more

JavaScript is a loosely typed or a dynamic language. That means you don’t have to declare the type of a variable ahead of time. The…

Read more