What does 'is an instance of' mean in Javascript?

后端 未结 7 786
面向向阳花
面向向阳花 2020-12-18 00:42

The answer to this question: What is the initial value of a JavaScript function's prototype property?

has this sentence:

The initial value

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 01:01

    Javascript is object-oriented, so it does have classes. There simply isn't an explicit "class" directive, like you would have in other OOP languages.

提交回复
热议问题