scrimba
Основы JavaScript
Инициализация класса Pet
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Инициализация класса Pet
AboutCommentsNotes
Инициализация класса Pet
Expand for more info
index.js
run
preview
console
class Pet {
constructor(animal, age, breed) {
this.animal = animal;
this.age = age;
this.breed = breed
}
}

Console
index.html
-1:59