Implement new

Write myNew, a function that does what the new keyword does, using Object.create and the constructor's return value rules.

Asked in LinkedIn frontend interviews