判断题
class Bar { doStuff() { console.log(‘stuff’); }}var b = new Bar();b.doStuff() // 返回报错信息。
【参考答案】
错误
(↓↓↓ 点击‘点击查看答案’看答案解析 ↓↓↓)
点击查看答案&解析