Home > Q&A > body text
The document shows that new is after the period. What's going on?
某草草2017-05-19 10:25:51
new with parameter list (new Date())跟成员访问(.)同个优先级,.按左往右执行;不带参数列表的(new Date) is one level lower.
new Date()
.
new Date