# String Wrapper Objects

This section covers a small part of the designing process. Determines how to properly combine some definitions with the usage and naming the methods in objects.

### Purpose

The purpose is to achieve [**intuitiveness**](/designing/definitions/intuitiveness-noun.md), [**logic**](/designing/definitions/logic-noun.md), [**cohesiveness**](/designing/definitions/cohesiveness-noun.md), [**minimalism**](/designing/definitions/minimalism-noun.md), [**immutability**](/designing/definitions/immutable-adjective.md), and [**consistency**](/designing/definitions/consistency-noun.md) in the final form of the objects. So, the question is, what do these words mean in object design, how to apply them properly, and why exactly these words? The following pages bring some answers.

### Immutability

The first decision is to use [primitive wrapper objects](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript) because the [immutable](/designing/definitions/immutable-adjective.md) nature(out of the box) of their primitive value results in partial **immutability** achievement and use them as [functional](/designing/definitions/functional-adjective.md) types.

There is a need to understand how methods are **being used** and **may** be used, especially in [primitive wrapper objects](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.angular-package.dev/designing/design-processes/string-wrapper-objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
