js new到底做了什么?如何重写new?(转)

转自:https://blog.csdn.net/lyt_angularjs/article/details/86623988

原文地址:https://www.cnblogs.com/olivertian/p/11221307.html