Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Primitive and Reference Values in JavaScript

DEV Community·Robert Hieger·22 days ago
#qXhtwrJt
Reading 0:00
15s threshold

                                                              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 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More