open_in_new
content_copy
function User(name) { this.name = name; this.isAdmin = false; } let user = new User("Jack");