Discuss / JavaScript / return 里hello后面的空格绝了

return 里hello后面的空格绝了

Topic source

所壹

#1 Created at ... [Delete] [Delete and Lock User]
class Cat extends Animal{ constructor(name){   super(name);}say(){   return ('Hello, '+ this.name +'!');}

浪过扬帆

#2 Created at ... [Delete] [Delete and Lock User]

谢谢兄弟,没有你的提醒我可能还要找半天


  • 1

Reply