等效的String.prototype是什么?/字符串.prototype === String;/ /错误的

What's the equivalent String.prototype? / String.prototype === String; //false

本文关键字:prototype String 错误 字符串 是什么      更新时间:2023-09-26

我试过了。

运行正常

   String.constructor === Function; //true
   String.prototype.constructor===String; //true

没有像预期的那样工作。

String.prototype === String; //false

I want know★★.

等效的String.prototype是什么?

String.prototype === ★★; //true

其他问题

是唯一对象它是一个"字符串"。prototype === String.prototype; "

与下面的意思相同吗?

String.prototype===String.prototype.constructor.prototype; //true

每个函数(String是一个函数)都有自己"唯一的"prototype对象。所以没有等价物