We can output multiple object property values in a single line of text as shown in this script.
Here we have a variable object named person this object has four different properties.
First name last name age and eye color using our get element by D output method we can call multiple
property values to form a sentence each value in addition to the first one can be added with a plus
sign the text strings in between the variable properties must be in quotes
this particular script
will list the first property value which is the first name.
So for example John has and then the eye color property.
So in this case Blue John has blue eyes that will be the output in our web browser and we can test that
by launching this script in our web browser
and as you can see here it outputs the correct sentence.