© 2026 Hedgehog Software, LLC
constructor()
class Dog { constructor(name) { this.name = name; this.behavior = 0; } }
new
const halley = new Dog('Halley');
function User(name) { this.name = name; this.isAdmin = false; } let user = new User("Jack");