Notice the common structure:
square.x = 100;
square.rotation = triangle.rotation;
square.scaleX = 1.5;
you use a variable(square,triangle) as the name of the object,followed by a period(.) and then the name of property(x,rotation,scalex). The period,known as the" dot operator",is used to indicate the you`re accessing one of the child elements of an object.The whole structure together,"variable name-dot-property name" is use like a single variable,as a name for a single value in the computer`s memory.