No, it's not.
function Product(name, price) {
this.name = name
this.price = price
}
function Toy1(name, price) {
Product.call(this, name, price)
this.category = 'toy'
}
function Toy2(name, price) {
Product.call(name, price)
this.category = 'toy'
}
const robot1 = new Toy1('robot', 40)
const robot2 = new Toy2('robot', 40)
console.log(robot1) //Toy1 { name: 'robot', price: 40, category: 'toy' }
console.log(robot2) //Toy2 { category: 'toy' }
Please try to consult the documentation first if you don't understand something.
Toy2 will create a Product on the name String, not on your new object.