top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In Javascript, What is Generic Object?

0 votes
352 views
In Javascript, What is Generic Object?
posted Feb 23, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

A generic object is essentially an empty blueprint for an object. You can define it anywhere in your Javascript code.

Example:

var obj = new Object();
obj.appName = "QueryHome"
obj.appType = "Q&A Platform"
answer Feb 27, 2018 by Sandeep Bedi
...