最近,我开始练习javascript/jQuery。我有一份课堂问卷。 constructor (json, container) { }
// Do something // A lot of stuff happens here
// HTML gets build in this method and ad
这是我的例子:https://codesandbox.io/s/test-uz-713xy正如你在这个相当不错的例子中看到的,我尝试将两个不同的方法分配给两个不同的按钮("skyfall“和"vileMurder但是这些方法是从我的类的外部调用的,因此它们没有被正确识别,我得到了以下错误消息:skyFall is not defined或vileMurder is not defined 有人知道怎么帮我解决这个问题吗