DEV Community

Keerthiga P
Keerthiga P

Posted on

Constructor Function

Constructor Function

  1. Constructor is useful for assigning object specific values into variables.
  2. constructor called automatically when object is created.

Top comments (0)