A JavaScript program is a list of statements to be executed by a computer.
The first example uses variables x (5), y (6) and z and ands x + y to get z and display it
The Next Example below is Numbers, they can be written with or without decimals.
Next example is for Strings, they can be written with double or single quotes.
JavaScript uses arithmetic operators to compute values (just like algebra), in this case 5 + 6 * 10.
In JavaScript the = operator is used to assign values to variables, in this case 'demo4' by = 5 + 6.
Expressions using 'constants' compute to values, in this case 'demo5' element is assigned by = 5 * 10.
Expressions compute to values, or concatenate 'John', ' ' and 'Doe'.
Expressions compute to values, contants (10) and variable (c).
Try to change lastName 'Doe'to lastname 'Peterson' or not checking case when referencing a variable.