---
description: 🚧 施工中
---

# primitive wrapper

[JS](../..) ⟩ [value](..) ⟩ [primitive]() ⟩ wrapper

{% hint style="warning" %}

{% endhint %}

{% tabs %}
{% tab title="⭐️ 重點" %}
{% hint style="warning" %}
[undefined](https://developer.mozilla.org/en-US/docs/Glossary/undefined)/[null](null "mention") has <mark style="color:red;">**no**</mark> <mark style="color:purple;">**wrapper**</mark>, <mark style="color:red;">**can't**</mark>**&#x20;**<mark style="color:yellow;">**call methods,**</mark>**&#x20;**<mark style="color:red;">**no**</mark>**&#x20;**<mark style="color:yellow;">**properties**</mark>.
{% endhint %}
{% endtab %}

{% tab title="📘 手冊" %}
* [primitive wrapper object](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#autoboxing_primitive_wrapper_objects_in_javascript)
* [Object.assign()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
{% endtab %}

{% tab title="👥 相關" %}
* [mixin](../obj/extend/mixin "mention"): in [Object.assign()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign),  [](<> "mention") (both **target** and **sources**) will be wrapped to <mark style="color:orange;">**objects**</mark>.
{% endtab %}
{% endtabs %}
