This is probably a stupid question

When we create an object with a function , for eg
function hello(a.b) {
this.Hi =a;
this.Bye =b;
var Zebra = new hello(x,y);
Why is return statement not needed to store the function that we created? I am really new to coding so please don’t crucify me if I am missing something obvious. :see_no_evil:

The same reason

Zebra.Hi = a

doesn’t require a return statement. You’re assigning a property.