class Sounds {
say() {
console.log(`what the ${this.name} say`)
console.log(this)
}
}
class Animal extends Sounds {
constructor(name) {
super()
this.name = name
}
}
const animal = new Animal('fox')
animal.say()
Какие конкретно ошибки?
Почему вы решили что проблема в nginx?