1
00:00:00,360 --> 00:00:07,030
We can output multiple object property values in a single line of text as shown in this script.

2
00:00:07,110 --> 00:00:14,760
Here we have a variable object named person this object has four different properties.

3
00:00:14,760 --> 00:00:25,710
First name last name age and eye color using our get element by D output method we can call multiple

4
00:00:25,710 --> 00:00:34,550
property values to form a sentence each value in addition to the first one can be added with a plus

5
00:00:34,560 --> 00:00:41,390
sign the text strings in between the variable properties must be in quotes

6
00:00:45,260 --> 00:00:46,460
this particular script

7
00:00:49,380 --> 00:00:54,360
will list the first property value which is the first name.

8
00:00:54,590 --> 00:01:00,980
So for example John has and then the eye color property.

9
00:01:01,340 --> 00:01:10,020
So in this case Blue John has blue eyes that will be the output in our web browser and we can test that

10
00:01:11,550 --> 00:01:13,650
by launching this script in our web browser

11
00:01:16,610 --> 00:01:19,930
and as you can see here it outputs the correct sentence.
