What is an instance of a “class” called in JavaScript other than an object?

I have an object like this:

function Person() {} 

What would you call it differently than an object? Obviously this is not a class, but what is it? I am looking for a term that is not an object, because I want to specifically emphasize the fact that you can create a new instance of it.

+6
javascript oop terminology
source share
1 answer

" function Person() {} " is a constructor function for a type . The value of new Person() will be an instance (or object) of the face of the type .

+5
source share

All Articles