...

/

Assignment Operator

Assignment Operator

This lesson explains the use of the assignment operator with object variables.

We'll cover the following...

What is an assignment operator?

Assingment is giving a new value to an existing object:

returnTripDuration = tripDuration; // assignment

The assignment is more complicated than the other ...

svg viewer