Write a function constructor User and call it via a constant user to show the following object:
{
name: "Mike",
age: 23,
city: "New York"
}Write a function constructor User and call it via a constant user to show the following object:
{
name: "Mike",
age: 23,
city: "New York"
}Sample Input 1:
Sample Output 1:
User { name: 'Mike', age: 23, city: 'New York' }Create a free account to access the full topic