String Wrapper Objects
Last updated
Was this helpful?
Last updated
Was this helpful?
The object name must be .
The object functionalities must be and reflect its name.
The object should contain only crucial to achieve ease-extensibility.
Method names must be and .
A primitive value is divided into private properties of generic type variables, which are part of it.
Constructor parameters types are generic type variables to preserve the exact type.
A primitive value type is built of generic type variables on the template literal, which results in the exact return type rather than just a string
.
The part of the primitive value is accessible by the use of get
accessors.
The parts of the primitive value are:
stored in the private hashed properties,
accessible through the get
accessors,
immutable, cause the use of the get
accessor.