Computer Science, asked by skumar1253, 3 months ago

javascript gives facility to create user defined object​

Answers

Answered by dhairyaveernarban
1

Answer:

Yes javascript gives facility to create user defined object.

Explanation:

We can define a custom object type by writing a constructor function where the name of the function should start with an uppercase alphabet for example Car, Cup, Human, etc. The constructor function is defined just as we define any other user-defined JavaScript Function.

Similar questions