Pexels.com: Photo by Anna Shvets Introduction JavaScript has two different types of data values— primitive and reference values . As is the case in any programming language, JavaScript has types to represent different kinds of data, such as integers, decimals and alphanumeric characters. Additionally, there are more complex data structures that contain groupings of data, as is the case in objects, functions, and arrays. Both functions and arrays are special kinds of objects and may also have properties added, changed or deleted from them, as is the case for objects. These kinds of values are known as reference values .…