Object.create().createNew?


  • 0
    G

    Just who exactly came up with this awkward pattern? How about just Object.create or using the old fashioned new keyword?

    Is there a way to PR to improve this problem?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.