>>13501654I'm glad you exist as a being.
If a constructor is a function that creates an object from another object, but can only access its public rather than private state when doing so, than I would consider this constructor inferential- as it must infer what private state the object possesses in its creation. For example
function constructHouse(buildingToCopy) returns house {...}
const referenceHouse = {
public lawn = true,
public fence = true,
private bedroomNumber = 3
cons house = constructHouse(referenceHouse)
console.log(house)
{ lawn: true, fence: true }
or perhaps
{ lawn: true, fence: true, bedroomNumber: null}
Basically its like a copycat function but one cannot reverse engineer whats inside