How to properly instantiate new Javascript class - Test failing

后端 未结 0 1453
情深已故
情深已故 2021-01-05 09:35

Why my class initiation isn\'t resetting to the defaultConfig? See the failing test.

class file

// class file
const defaultConfig = {
  color: \'blue\'         


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