Edit It: Does the return operator make objects inherit a function's prototype?
This code shows that the return operator does not make objects inherit a function's prototype.
See it on StackBlitzThis code shows that the return operator does not make objects inherit a function's prototype.
See it on StackBlitz