Skip to content
web advanced
Search
K
Main Navigation
指南
JavaScript
CSS
Leetcode
前端
canvas
svg
es6
pwa
v8
webgl
security
业务
跨域问题
微信支付
支付宝
github授权
类库
vite
webpack
rollup
babel
vue
react
nuxt
后端
node
deno
nginx
actix-web
面试题
Appearance
Menu
Return to top
目录
new
new 操作符
创建一个新对象
构造函数的作用域赋值给新对象,this 指向这个新对象
执行构造函数代码,为这个新对象添加属性
返回新对象
查看更多 js 中的 new() 到底做了些什么??