What are wrapper objects for primitive values?

This blog post is first of a series:

What are wrapper objects for primitive values?
Why you shouldn’t change built-in prototypes [coming soon]
How do primitive values get their properties? [coming soon]

Each of the primitive types boolean, number, b…


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

This blog post is first of a series:

  1. What are wrapper objects for primitive values?
  2. Why you shouldn’t change built-in prototypes [coming soon]
  3. How do primitive values get their properties? [coming soon]

Each of the primitive types boolean, number, bigint, string and symbol has an associated wrapper class (Boolean, Number, BigInt, String, Symbol). In this blog post, we examine what these classes are good for.

[Read rest of post]


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer


Print Share Comment Cite Upload Translate Updates
APA

Dr. Axel Rauschmayer | Sciencx (2022-02-20T00:00:00+00:00) What are wrapper objects for primitive values?. Retrieved from https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/

MLA
" » What are wrapper objects for primitive values?." Dr. Axel Rauschmayer | Sciencx - Sunday February 20, 2022, https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/
HARVARD
Dr. Axel Rauschmayer | Sciencx Sunday February 20, 2022 » What are wrapper objects for primitive values?., viewed ,<https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » What are wrapper objects for primitive values?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/
CHICAGO
" » What are wrapper objects for primitive values?." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/
IEEE
" » What are wrapper objects for primitive values?." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/. [Accessed: ]
rf:citation
» What are wrapper objects for primitive values? | Dr. Axel Rauschmayer | Sciencx | https://www.scien.cx/2022/02/20/what-are-wrapper-objects-for-primitive-values/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.