➕new
creating objects using `new F()` syntax.
JS ⟩ value ⟩ object ⟩ create ⟩ new
(operator) (🌟 table of operators)
create objects by using constructor functions. (👉 callable vs. constructable)
new Object()
new Point(2,3)
new Object // empty pair of parentheses can be omitted
new Date
🈯 synonyms: "object creation expression"
Last updated
Was this helpful?