Cross-browser way to implement default string description of object

前端 未结 0 1459
温柔的废话
温柔的废话 2020-11-27 21:56

When you create a class, and then instantiate it, and then request its string description, you get a result in the format [object {type}]. Here\'s an example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题