New Object
This lesson goes over the creation of an object with the keyword new.
Instantiating a class into an object
TypeScript can create an object by instantiating a class
using the keyword new
. The scope of this lesson does not cover all object-oriented possibilities but in a nutshell, TypeScript lets you use the full set of object-oriented features, even ECMAScript before 2015, which does not contain Object or literal object.
This means that if ...
Get hands-on with 1400+ tech skills courses.