- 2020-05-17 04:49:36
The JS code below creates an myMovie object and assigns values to the title and director properties of the object. Object defines the object, and its properties can be called directly without being defined. It is very simple.
The output results are as follows:
movie: title is "Aliens"