DEV Community

randhavevaibhav
randhavevaibhav

Posted on

Never asked JavaScript interview question 🤪
How will you create an object of class from other object
Normal way -
const jack = new Person(); //using class name

find a way to create tom object without using class name Person

Top comments (0)