You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Basic_Concepts/Objects/README.md
+27-12Lines changed: 27 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,40 @@
2
2
3
3
# Objects
4
4
5
-
This MD file serves as example/template.
5
+
Objects are variables that are storing more values, (properties). Objects are a part of the world of Object Oriented Programming, a way of programming that is highly recommended to learn more about it.
6
6
7
-
It will be filled up soon.
8
7
9
-
(for Bucky to fill up)
8
+
# Course Documentation
9
+
10
10
11
+
## Objects
11
12
12
-
# Course Documentation
13
+
In our example for objects we used the following code:
14
+
15
+
16
+
var person = {
17
+
name: "Bucky",
18
+
age: 87
19
+
};
13
20
14
-
(this for me to fill up with every element
21
+
22
+
That is the typical syntax of javascripts object as well:
23
+
24
+
var objectname = {
25
+
property1: "property1valueinstringformat",
26
+
property2: property2valueinarithmeticformat
27
+
};
15
28
16
-
that you use in lessons. syntax
29
+
We achieve to insert more values in one variable by turning it to an object and by use the "property" format to each of our value
30
+
17
31
18
-
explaination and links for more)
32
+
{ property: valueofproperty };
19
33
20
-
## Element to explain
34
+
Curley brackets are defining the are of the properties, and also they defining that our variable is an object, and we separate our properties with the comma symbol.
0 commit comments